Opt-outs
List opt-outs
Returns the numbers on your opt-out list, newest first, including entries created from STOP, START and HELP keyword replies and the ones you added.
GET
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
OptOut
/
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/OptOut/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.opt_outs.list_opt_outs(
limit=1,
offset=1,
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/OptOut/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "4e8b2d61-7c3a-4f9e-a1d5-9b6c0e2f8a37",
"accountId": "MA_XXXXXXXX",
"phoneNumber": "+14155550123",
"channel": "sms",
"reason": "manual",
"source": "manual",
"syncedToProvider": true,
"createdAt": "2026-10-18T07:23:03Z"
},
{
"id": "7b1d9f3e-2a6c-4e5b-8d0f-3c9a1e7b5d26",
"accountId": "MA_XXXXXXXX",
"phoneNumber": "+14155550124",
"channel": "sms",
"reason": "stop",
"source": "inbound",
"syncedToProvider": false,
"createdAt": "2026-10-17T19:04:40Z"
}
]Authorizations
Path Parameters
Query Parameters
Response
object[] | null
A page of opt-outs. An empty page has no items.
Was this page helpful?
⌘I
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/OptOut/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.opt_outs.list_opt_outs(
limit=1,
offset=1,
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/OptOut/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "4e8b2d61-7c3a-4f9e-a1d5-9b6c0e2f8a37",
"accountId": "MA_XXXXXXXX",
"phoneNumber": "+14155550123",
"channel": "sms",
"reason": "manual",
"source": "manual",
"syncedToProvider": true,
"createdAt": "2026-10-18T07:23:03Z"
},
{
"id": "7b1d9f3e-2a6c-4e5b-8d0f-3c9a1e7b5d26",
"accountId": "MA_XXXXXXXX",
"phoneNumber": "+14155550124",
"channel": "sms",
"reason": "stop",
"source": "inbound",
"syncedToProvider": false,
"createdAt": "2026-10-17T19:04:40Z"
}
]