cURL
curl --request PATCH \ --url https://sandbox.intermezzo.ai/contacts/{contact_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "email": "jsmith@example.com", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "roles": [ "<string>" ] }'
{ "name": "<string>", "email": "jsmith@example.com", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "id": "<string>", "roles": [] }
Update contact
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Successful Response
Was this page helpful?