PUT
/
contacts
/
{id}
curl --request PUT \
  --url https://api.notocat.com/v1/contacts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "subscribed": true,
  "custom_fields": {}
}'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "subscribed": true,
  "unsub_token": "<string>",
  "custom_fields": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

This endpoint can be used to update a single contact at a time by providing the contact ID. con_D6zCfeVDaAAT-b9dl9SIE is the contact ID in the example below.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the contact to update

Body

application/json

The data to update the contact with

The body is of type object.

Response

200
application/json

Contact updated

The response is of type object.