Skip to content

Create a new contact

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

Contact created

Duplicate email