JavaScript
Send
Send a message
Send a message to one or more recipients.
POST
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Defines the message to be delivered
Response
200 - application/json
A successful call to POST /send returns a 202 status code along with a requestId in the response body.
For single-recipient requests, the requestId is the derived message_id. For multiple recipients, Courier assigns a unique message_id to each derived message.
Example:
"1-69f561d3-7ad9d453fb6a7012efc2c5ad"