Add bulk_messages.create#308
Closed
Narayana Shanbhog Plivo (narayana-plivo) wants to merge 1 commit into
Closed
Conversation
POST /v1/Account/{auth_id}/Message/Bulk/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.