Skip to main content
POST
/
clients
/
{id}
/
contacts
Create Client Contact
curl --request POST \
  --url https://api.roostedhr.com/api/1_12/clients/{id}/contacts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "number": "<string>",
  "email": "<string>",
  "title": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "number": "<string>",
  "email": "<string>",
  "title": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Client ID

Body

application/json

Contact details. Only name is required.

name
string
required

Contact full name.

number
string

Phone number.

email
string

Email address.

title
string

Job title.

Response

Created

id
string

Unique contact identifier.

name
string

Contact full name.

number
string | null

Contact phone number.

email
string | null

Contact email address.

title
string | null

Contact job title.