cURL
curl --request POST \ --url https://sandbox.intermezzo.ai/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "email": "jsmith@example.com", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "roles": [] }'
{ "name": "<string>", "email": "jsmith@example.com", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "id": "con_01h455vb4pex5vsknk084sn02q", "roles": [] }
Create a new contact for an organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
TypeID with prefix 'org'
"org_01h455vb4pex5vsknk084sn02q"
Successful Response
The response is of type object.
object
Was this page helpful?