Skip to main content
message.batch is emitted when a batch has no pending messages left and at least one message in that batch reached SENT.
Notes:
  • sandbox on the envelope tracks the mode of the project that produced the batch.
  • data.id is the batch id.
  • data.ids are the stored message ids that finished with SENT, sorted ascending.
  • data.ids can be longer than the original number of request items when some entries were segmented into multiple SMS parts.
  • If every batch item fails, no message.batch event is emitted.