Contacts
Update contact tags and groups
Adds and removes tags and groups on an existing contact addressed by its E.164 phone number. The API resolves the current contact and ETag, merges each requested bucket case-insensitively, and applies the result with an optimistic PATCH; existing memberships are not wiped. Supply at least one add or remove value. A concurrent change between lookup and write returns 412.
post/contacts/by-phone/{phone}/memberships
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/UpdateContactMembershipsBody.json"
}Response
OK
Example response
{
"$schema": "/v1/schemas/Contact.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.