Skip to main content
POST
/
organizations
/
{organization_id}
/
worksites
/
{worksite_id}
/
contacts
Create Worksite Contact
curl --request POST \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/worksites/{worksite_id}/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": "<string>",
  "roles": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organization_id
required
worksite_id
required

Body

application/json
name
string
required
email
string<email> | null
phone
object | null
roles
string[]

Response

Successful Response

name
string
required
id
string
required
email
string<email> | null
phone
object | null
roles
string[]
I