curl --request GET \
--url https://api.hierarch.io/v1/consultation/get/{company_slug}/{consultation_id}/ \
--header 'token: <api-key>'
{
"consultation": {
"id": 123,
"status": "<string>",
"schedule": "<string>",
"location": "<string>",
"url": "<string>",
"title": "<string>",
"description": "<string>",
"notes": "<string>",
"product": {
"id": 123,
"name": "<string>",
"price": "<string>",
"currency": "<string>"
},
"datetime": "<string>"
},
"consultants": {
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>",
"role_name": "<string>"
},
"clients": {
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
}
Retrieves single consultation
curl --request GET \
--url https://api.hierarch.io/v1/consultation/get/{company_slug}/{consultation_id}/ \
--header 'token: <api-key>'
{
"consultation": {
"id": 123,
"status": "<string>",
"schedule": "<string>",
"location": "<string>",
"url": "<string>",
"title": "<string>",
"description": "<string>",
"notes": "<string>",
"product": {
"id": 123,
"name": "<string>",
"price": "<string>",
"currency": "<string>"
},
"datetime": "<string>"
},
"consultants": {
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>",
"role_name": "<string>"
},
"clients": {
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
}
API token provided to your company
This is your company url
Consultation ID
OK Response
The response is of type object
.
Was this page helpful?