Contacts
Opt out a contact by phone
Records a permanent hard opt-out for an E.164 phone under the authenticated account. The account is taken from the bearer token, never from the request; the Contacts Service creates the contact if it does not exist. Returns the updated contact and ETag with HTTP 200.
post/contacts/by-phone/{phone}/opt-out
Request
- Base URLhttps://api.textla.com/v1
- AuthHTTP bearer
Path parameters
phonestring required
E.164 phone number identifying the contact
Request body
Example request
{
"$schema": "/v1/schemas/OptOutContactBody.json"
}Response
OK
Example response
{
"$schema": "/v1/schemas/Contact.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.