POST
/
client
/
create
/
{company_slug}
curl --request POST \
  --url https://api.hierarch.io/v1/client/create/{company_slug}/ \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "country": "<string>"
}'
{
  "result": "<string>"
}

Authorizations

token
string
header
required

API token provided to your company

Path Parameters

company_slug
string
required

This is your company url

Body

application/json
Creates new client
first_name
string

Client first name

last_name
string

Client last name

email
string

Client email

phone
string

Client phone number

country
string

Country

Response

200
application/json
OK Response
result
string
required