Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier of the contact.
Body
application/json
Body
Response
200
curl --request PATCH \
--url https://dovetail.com/api/v1/contacts/{contact_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "John Smith",
"email": "john@dovetail.com",
"fields": [
{
"label": "salesforce_id",
"value": "003XX000004TmiQQAS"
}
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"created_at": "<string>",
"fields": [
{
"label": "<string>",
"value": "<string>",
"type": "BOOLEAN"
}
]
}
}
Update an existing contact in the contacts database.
π§ Permissions
Please check you have the relevant permissions required to access this resource. This may include specific permissions on the object itself or its parent, or having the correct user role if youβre making updates.
curl --request PATCH \
--url https://dovetail.com/api/v1/contacts/{contact_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "John Smith",
"email": "john@dovetail.com",
"fields": [
{
"label": "salesforce_id",
"value": "003XX000004TmiQQAS"
}
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"created_at": "<string>",
"fields": [
{
"label": "<string>",
"value": "<string>",
"type": "BOOLEAN"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier of the contact.
Body
The contact's name.
1000
"John Smith"
The contact's email.
"john@dovetail.com"
Custom field data for the contact (key-value pairs).
Show child attributes
[
{
"label": "salesforce_id",
"value": "003XX000004TmiQQAS"
}
]
200
Show child attributes
Was this page helpful?