Contacts
Upsert a contact by phone
Creates or fully replaces a contact under the authenticated account, using its E.164 phone number as the resource key. The account ID is taken from the bearer token. The body phone must match the path phone. Omitted or empty tags, groups, keywords, and custom_fields clear those buckets on replacement. Custom fields may identify an existing definition by its opaque field_id or by name. Returns 201 when created and 200 when replaced, with the resulting Contact and ETag. Contacts Service currently reapplies retries instead of replaying the original response.
put/contacts/by-phone/{phone}
Request
- Base URLhttps://api.textla.com/v1
- AuthHTTP bearer
Path parameters
phonestring required
E.164 phone number identifying the contact; must match body.phone
Request body
Example request
{
"$schema": "/v1/schemas/CreateContactBody.json"
}Response
OK
Example response
{
"$schema": "/v1/schemas/Contact.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.