curl --request GET \
--url https://api.hierarch.io/v1/personnel/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"id": 123,
"role_name": "<string>",
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"country": "<string>",
"home_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>"
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}
Retrieves personnel array
curl --request GET \
--url https://api.hierarch.io/v1/personnel/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"id": 123,
"role_name": "<string>",
"profile_photo": "<string>",
"status": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"country": "<string>",
"home_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>"
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}
API token provided to your company
Search term, blank by default
Page number, 1 by default
Data order - newest / oldest
This is your company url
OK Response
The response is of type object
.
Was this page helpful?