Skip to main content
Manage which recipients are opted in or opted out of receiving RCS messages, scoped by sender and message type (promotional or transactional). Use these endpoints to check, add, and remove numbers from each list.
All requests are authenticated with the apikey header. See RCS Messaging Overview.

Opt Out list

Get opt-out list

string
required
Your OneXtel API key.
cURL
Response
string
success when the request was served. Present on both lists, empty or not.
array
One entry per number on the list. An empty list returns "data": [].
string
The recipient’s number, with country code.
string
The RCS sender the entry applies to. The list covers the whole account, so entries for several senders can come back together.
string
promotional or transactional — an entry is scoped to one type.
string
The account the entry belongs to.

Add to opt-out list

string
required
Your OneXtel API key.
array
required
Array of recipient phone numbers to opt out.
string
required
RCS sender/bot ID the opt-out applies to.
array
required
Message types to opt the numbers out of, e.g. ["promotional", "transactional"].
Request
cURL

Remove from opt-out list

string
required
Your OneXtel API key.
string
required
Recipient phone number to remove from the opt-out list.
string
required
RCS sender/bot ID the opt-out applies to.
string
required
Message type to remove the opt-out for. One of promotional, transactional.
cURL

Opt In list

Get opt-in list

string
required
Your OneXtel API key.
cURL
Response
string
success when the request was served. Present on both lists, empty or not.
array
One entry per number on the list. An empty list returns "data": [].
string
The recipient’s number, with country code.
string
The RCS sender the entry applies to. The list covers the whole account, so entries for several senders can come back together.
string
promotional or transactional — an entry is scoped to one type.
string
The account the entry belongs to.

Add to opt-in list

string
required
Your OneXtel API key.
array
required
Array of recipient phone numbers to opt in.
string
required
RCS sender/bot ID the opt-in applies to.
array
required
Message types to opt the numbers into, e.g. ["promotional", "transactional"].
Request
cURL

Remove from opt-in list

string
required
Your OneXtel API key.
string
required
Recipient phone number to remove from the opt-in list.
string
required
RCS sender/bot ID the opt-in applies to.
string
required
Message type to remove the opt-in for. One of promotional, transactional.
cURL