API
Ambiente
- Contatos
- Campos Personalizados
- Conversas
- Tags
- Produtos
- Negócios
- Campanhas
- Dashboards
Contatos
Update Contact
PATCH
/
v3
/
contacts
/
{id}
curl --request PATCH \
--url https://api4.kinbox.com.br/v3/contacts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"_id": "<string>",
"customFields": {},
"name": "<string>",
"email": "<string>",
"externalId": "<string>",
"origin": "<string>",
"phone": "<string>",
"location": "<string>",
"avatar": "<string>",
"facebookId": "<string>",
"instagramId": "<string>",
"telegramId": "<string>",
"notes": "<string>",
"isImported": true,
"hasConversation": true,
"newContact": true,
"crmData": {},
"CustomerCustomField": {},
"isPrivate": true
}'
{
"id": "<string>",
"_id": "<string>",
"customFields": {},
"name": "<string>",
"email": "<string>",
"externalId": "<string>",
"origin": "<string>",
"phone": "<string>",
"location": "<string>",
"avatar": "<string>",
"facebookId": "<string>",
"instagramId": "<string>",
"telegramId": "<string>",
"notes": "<string>",
"isImported": true,
"hasConversation": true,
"newContact": true,
"crmData": {},
"CustomerCustomField": {},
"isPrivate": true,
"workspaceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"lastUpdateAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request PATCH \
--url https://api4.kinbox.com.br/v3/contacts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"_id": "<string>",
"customFields": {},
"name": "<string>",
"email": "<string>",
"externalId": "<string>",
"origin": "<string>",
"phone": "<string>",
"location": "<string>",
"avatar": "<string>",
"facebookId": "<string>",
"instagramId": "<string>",
"telegramId": "<string>",
"notes": "<string>",
"isImported": true,
"hasConversation": true,
"newContact": true,
"crmData": {},
"CustomerCustomField": {},
"isPrivate": true
}'
{
"id": "<string>",
"_id": "<string>",
"customFields": {},
"name": "<string>",
"email": "<string>",
"externalId": "<string>",
"origin": "<string>",
"phone": "<string>",
"location": "<string>",
"avatar": "<string>",
"facebookId": "<string>",
"instagramId": "<string>",
"telegramId": "<string>",
"notes": "<string>",
"isImported": true,
"hasConversation": true,
"newContact": true,
"crmData": {},
"CustomerCustomField": {},
"isPrivate": true,
"workspaceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"lastUpdateAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.