v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
SMS and MMS

Create an opt-out

Opts a phone number out of receiving messages from a Sender ID, a 10DLC campaign, or all outbound messages.

post/v3/messages/opt-outs

Request body

Example request

{
  "opt_out": {
    "number": "16419252149",
    "sender_id": "15072429497"
  }
}

Response

Returns a success confirmation. The opt-out is created.

successboolean required

Indicates whether the request was successful.

Example response

{
  "success": true
}