v1

latestOpenAPI 3.0.02026-07-1313126.3 KB
contact

Update contact

Update an existing Contact's name, phone number, email, or custom attributes by ID. Only the fields you provide will be updated.

post/contact/{id}/update_info

Path parameters

idstring required

The unique ID of the Contact you want to update.

Request body

first_namestring

The first name of the Contact.

last_namestring

The last name of the Contact.

phone_numberstring

The phone number of the Contact.

namestring

The full name of the Contact.

emailstring

The email address associated with the Contact.

country_codestring nullable

The country code for the Contact's phone number. Used when the phone number does not start with '+'.

Response

Successful response

errorobject nullable

An object containing error details, if any. This field will be populated if the API request fails or encounters an error. If the request is successful, this field will be null or omitted.

dataobject required

Contains the response data for the successful request. This field will vary based on the specific API endpoint being called and contains the main data returned from the API. For example, it may include information about a created contact, agent, or webhook subscription.