cURL
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
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
Show child attributes
Current data page
Maximum number of pages
Starting data count
Ending data count
Maximum number of data
Was this page helpful?