List OptOuts
This document will go over how to list all of your OptOut requests.
GET /addressbook/optout
GET /addressbook/optoutcurl -X GET \
"https://api.mobivatebulksms.com/addressbook/optout?startDate=2023-01-01&endDate=2023-01-02" \
-H 'Authorization: Bearer [API Key]'import requests
headers = {
'Authorization': 'Bearer [API Key]',
}
params = {
'startDate': '2023-01-01',
'endDate': '2023-01-02',
}
response = requests.get('https://api.mobivatebulksms.com/addressbook/optout', params=params, headers=headers)curl -X GET \
"https://api.mobivatebulksms.com/addressbook/optout?startDate=2023-01-01&endDate=2023-01-02&pageSize=100" \
-H 'Authorization: Bearer [API Key]'import requests
headers = {
'Authorization': 'Bearer [API Key]',
}
params = {
'startDate': '2023-01-01',
'endDate': '2023-01-02',
'pageSize': '100',
}
response = requests.get('https://api.mobivatebulksms.com/addressbook/optout', params=params, headers=headers)curl -X GET \
"https://api.mobivatebulksms.com/addressbook/optout?startDate=2023-01-01T12:00:00%2B1200&endDate=2023-01-02T12:00:00%2B1200" \
-H 'Authorization: Bearer [API Key]'import requests
headers = {
'Authorization': 'Bearer [API Key]',
}
response = requests.get(
'https://api.mobivatebulksms.com/addressbook/optout?startDate=2023-01-01T12:00:00%2B1200&endDate=2023-01-02T12:00:00%2B1200',
headers=headers,
)Name
Value
Name
Type
Required?
Description
Last updated