Send

Send a message

Send a message to one or more recipients.

post/send

Request body

Example request

{
  "message": {
    "content": {
      "elements": [
        {
          "channel": "email"
        }
      ]
    }
  }
}

Response

requestIdstring required

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 response

{
  "requestId": "1-65f240a0-47a6a120c8374de9bcf9f22c"
}

Changes