Skip to content

Add bulk_messages.create#308

Closed
Narayana Shanbhog Plivo (narayana-plivo) wants to merge 1 commit into
masterfrom
rune/pr-9001-bulk_messages-create
Closed

Add bulk_messages.create#308
Narayana Shanbhog Plivo (narayana-plivo) wants to merge 1 commit into
masterfrom
rune/pr-9001-bulk_messages-create

Conversation

@narayana-plivo
Copy link
Copy Markdown
Contributor

Add bulk_messages.create

Base: master ← rune/pr-9001-bulk_messages-create

Reviewers (picked by recent commit activity):

Adds bulk_messages.create()POST /v1/Account/{auth_id}/Message/Bulk/.

Send a single SMS message to up to 1000 destinations in one API call, billed independently per destination.

Parameters

  • src (string, required) — The source phone number or sender ID to send the message from.
  • dst (array, required) — List of destination phone numbers; minimum 1 and maximum 1000 entries.
  • text (string, required) — The text content of the message; maximum 1600 characters.
  • type (string, optional) — The type of message (e.g. sms).
  • url (string, optional) — The URL to which delivery status callbacks are sent.
  • method (string, optional) — The HTTP method used to invoke the callback URL (GET or POST).
  • log (boolean, optional) — Whether to log the message content; defaults to false.
  • powerpack_uuid (string, optional) — UUID of the Powerpack to use for sending the bulk message.

Each method ships with a unit test, a usage example, a bumped version, and a CHANGELOG entry.

POST /v1/Account/{auth_id}/Message/Bulk/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant