Unsubscribe a contact from a sending list by setting their subscription status to inactive.
Unsubscribes a contact from the specified sending list. This sets the ListContact’s active status toDocumentation Index
Fetch the complete documentation index at: https://docs.tracklysms.com/llms.txt
Use this file to discover all available pages before exploring further.
false with an unsubscribe reason of api. The contact record itself is not deleted — only their subscription to the list is deactivated. This ensures historical data (send counts, click counts, revenue) is preserved for reporting.
The endpoint returns a success response even if the contact or list is not found. Check the unsubscribed field to determine whether an actual unsubscribe took place.
+14155559876).+18005551234). Must be a list owned by your account.true when the request is processed without error.true if the contact was found on the list and their status was changed to inactive. false if the contact was not found on the list, the list does not exist, or the contact was already unsubscribed.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | missing_phone_number | The phone_number field was not provided in the request body. |
| 400 | missing_list_number | The list_number field was not provided in the request body. |
| 401 | unauthorized | Missing or invalid X-Api-Key header. |
| 400 | invalid_phone | The phone_number is not a valid E.164 phone number. |
| 400 | invalid_list_number | The list_number is not a valid E.164 phone number. |
| 500 | internal_error | An unexpected server error occurred. |