For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete an OptOut

This document will go over how to Delete an OptOut using our API.

DELETE /addressbook/optout

Delete an OptOut from our system.

curl -X DELETE \
"https://api.mobivatebulksms.com/optout" \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer [API Key]' \
-d '{ "mobile": "440011122233" }'

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer [API Key]

Body

Name
Type
Required?
Description

mobile

string

Yes

Mobile number to add to Optout list.

Response

{
   "mobile":"440011122233",
   "note":"API",
   "created":1690783496000
}

We use conventional HTTP response codes to indicate the success or failure of an API request. In general:

2xx indicate success 4xx indicate an error that failed given the information provided (e.g., a required parameter was omitted) 5xx errors indicate an error with ours servers (these are rare).

To see a full list of our Response codes, please click here.

Last updated