Skip to main content
POST
/
v1.0
/
message
/
outbound
Create new sms message
curl --request POST \
  --url https://api.example.com/v1.0/message/outbound \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "From": "<string>",
  "TmidToken": "<string>",
  "Direction": "<string>",
  "Type": "<string>",
  "CampaignId": "<string>",
  "To": [
    {
      "Number": "<string>"
    }
  ],
  "Owner": "<string>",
  "Body": "<string>",
  "MessageType": "<string>",
  "MmsMedia": [
    {
      "MediaURL": "<string>"
    }
  ],
  "MmsBase64": [
    {
      "Base64": "<string>",
      "BaseType": "<string>"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.

Body

Message object

From
string
required
Minimum string length: 1
TmidToken
string | null
Direction
string | null
Type
string | null
CampaignId
string | null
To
object[] | null
Owner
string | null
Body
string | null
MessageType
string | null
MmsMedia
object[] | null
MmsBase64
object[] | null

Response

200

Success