cURL
curl --request POST \ --url https://api.example.com/organizations/{organization_id}/worksites/{worksite_id}/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "name": "<string>", "id": "<string>", "email": "jsmith@example.com", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "roles": [] }
Create a new contact and attach it to a worksite
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Successful Response