curl --request PUT \
--url https://api.timelyai.com.br/v1/contacts/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"customer_name": "<string>",
"customer_email": "jsmith@example.com",
"customer_phone": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_fields": {}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"customer_email": "jsmith@example.com",
"customer_phone": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_fields": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Updates an existing contact.
curl --request PUT \
--url https://api.timelyai.com.br/v1/contacts/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"customer_name": "<string>",
"customer_email": "jsmith@example.com",
"customer_phone": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_fields": {}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"customer_email": "jsmith@example.com",
"customer_phone": "<string>",
"status": "active",
"tags": [
"<string>"
],
"custom_fields": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}API key obtained from the dashboard
Contact ID
Contact updated
Show child attributes