Update a contact by phone
Partially updates an existing contact under the authenticated account, using its E.164 phone number as the resource key. The API resolves the service's numeric contact ID and current ETag before writing, then sends that ETag as If-Match; callers must not supply If-Match. Only supplied fields change. Supplied tags, groups, and keywords replace their entire bucket, and an explicit empty array clears it. Custom fields are merged per field: omission leaves all unchanged, an empty array is a no-op, and each listed entry may identify an existing definition by opaque field_id or name; a null value clears that field. A concurrent change between lookup and write returns 412.
Request
- Base URLhttps://api.textla.com/v1
- AuthHTTP bearer
Path parameters
E.164 phone number identifying the contact
Request body
Example request
{
"$schema": "/v1/schemas/PatchContactBody.json"
}Response
OK
Example response
{
"$schema": "/v1/schemas/Contact.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.