Show Developer Menu

PUT /contacts/{email}

Issuing a PUT call to a specific contact will allow you to update the contact.

Example Request
curl 'https://{brand}{email}' \
  -u {login-email}:{api-token} \
  -H 'Accept: application/json' \
  -H 'Content-type: application/json' \
  -X POST -d '{"contact": {"name": "bob", "data": {"custom_attribute": "custom data"}}'

A successful request will return the JSON for the updated contact.

A failed request will return an HTTP 422 Unprocessable Entity with the JSON body explaining the error.