Skip to content

Update a contact

PATCH
/contacts/{id}
curl --request PATCH \
--url https://app.surveyrock.com/api/v1/contacts/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "first_name": "example", "last_name": "example", "customFields": {} }'
id
required
string
Media typeapplication/json
object
email
string format: email
first_name
string
last_name
string
customFields
object
Examplegenerated
{
"email": "hello@example.com",
"first_name": "example",
"last_name": "example",
"customFields": {}
}

Contact updated

Contact not found

If-Match header required