GET
/
personnel
/
get
/
{company_slug}
/
{personnel_id}
curl --request GET \
  --url https://api.hierarch.io/v1/personnel/get/{company_slug}/{personnel_id}/ \
  --header 'token: <api-key>'
{
  "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>"
}

Authorizations

token
string
header
required

API token provided to your company

Path Parameters

company_slug
string
required

This is your company url

personnel_id
string
required

Personnel ID

Response

200
application/json
OK Response
id
integer
required

Personnel ID

role_name
string

Personnel role name

profile_photo
string

Personnel profile photo

status
string

Personnel status

first_name
string

Personnel first name

last_name
string

Personnel last name

email
string

Personnel email

phone
string

Personnel phone

country
string

Country

home_address
string

Personnel home address

facebook
string

Facebook account

instagram
string

Instagram account

twitter
string

X/Twitter account

linkedin
string

Linkedin account

skype
string

Skype account

whatsapp
string

Whatsapp account

msteams
string

MS Teams account

slack
string

Slack account

discord
string

Discord account

last_update
string

Date and time the personnel was last updated

datetime
string

Date and time the Personnel was created