cURL
curl --request POST \ --url https://api.sendx.io/api/v1/rest/contact/identify \ --header 'Content-Type: application/json' \ --header 'X-Team-ApiKey: <api-key>' \ --data '{ "firstName": "John", "lastName": "Doe", "email": "user@example.com", "newEmail": "user@example.com", "company": "Acme Inc.", "tags": [ "new", "cool" ], "customFields": { "favorite_color": "blue", "favorite_food": "pizza" } }'
{ "status": "200", "message": "OK" }
Identify a contact by email address. If the contact already exists, it will be updated.
{ "email": "john.doe@gmail.com", "firstName": "John", "lastName": "Doe", "birthday": "1989-03-03", "customFields": { "Designation": "Software Engineer", "Age": "27", "Experience": "5" }, "tags": ["Developer", "API Team"] }
Success Response
The response is of type object.
object
Was this page helpful?