Skip to main content
POST
/
contact
/
unsubscribe
/
{identifier}
Unsubscribe contact
curl --request POST \
  --url https://api.sendx.io/api/v1/rest/contact/unsubscribe/{identifier} \
  --header 'X-Team-ApiKey: <api-key>'
{
"status": "success",
"message": "Operation completed successfully"
}

Authorizations

X-Team-ApiKey
string
header
required

Team API key for authentication. Find your API key in SendX Settings → Team API Key.

Example:

X-Team-ApiKey: your_team_api_key_here

Path Parameters

identifier
string
required

Resource identifier with prefix (e.g., contact_BnKjkbBBS500CoBCP0oChQ)

Format: <prefix>_<22-character-id>

Example:

"contact_BnKjkbBBS500CoBCP0oChQ"

Response

✅ Contact unsubscribed successfully

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"

I