curl --request GET \
--url https://api.hierarch.io/v1/client/get/{company_slug}/{client_id}/ \
--header 'token: <api-key>'
{
"id": 123,
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"home_phone": "<string>",
"work_phone": "<string>",
"country": "<string>",
"home_address": "<string>",
"work_address": "<string>",
"company_name": "<string>",
"company_website": "<string>",
"company_address": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>",
"skype": "<string>",
"whatsapp": "<string>",
"msteams": "<string>",
"slack": "<string>",
"discord": "<string>",
"last_update": "<string>",
"datetime": "<string>"
}
Retrieves single client
curl --request GET \
--url https://api.hierarch.io/v1/client/get/{company_slug}/{client_id}/ \
--header 'token: <api-key>'
{
"id": 123,
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"home_phone": "<string>",
"work_phone": "<string>",
"country": "<string>",
"home_address": "<string>",
"work_address": "<string>",
"company_name": "<string>",
"company_website": "<string>",
"company_address": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>",
"skype": "<string>",
"whatsapp": "<string>",
"msteams": "<string>",
"slack": "<string>",
"discord": "<string>",
"last_update": "<string>",
"datetime": "<string>"
}
API token provided to your company
OK Response
The response is of type object
.
Was this page helpful?