Retrieves a list of all admins.
API Reference
//
Get prescriber details
Hero Health Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.herohealth.net/_mock/apis/public-api/openapi/
Staging
https://api.staging.htech.app/
Production
https://api.herohealth.net/
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins
- Staginghttps://api.staging.htech.app/v1/admins
- Productionhttps://api.herohealth.net/v1/admins
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins?page_index=string&page_size=string&order_by=first_name&order_descending=true' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "count": 0 }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins/{id}
- Staginghttps://api.staging.htech.app/v1/admins/{id}
- Productionhttps://api.herohealth.net/v1/admins/{id}
- curl
- NodeJS
- Ruby
curl -i -X PATCH \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"external_prescriber_id": "string",
"prescriber_details": {
"name": "string",
"email": "user@example.com",
"registration_code": "string"
}
}'Response
application/json
{ "admin_id": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin/signature
- Staginghttps://api.staging.htech.app/v1/admin/signature
- Productionhttps://api.herohealth.net/v1/admin/signature
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin/signature \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"signature": "string"
}'- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin/preferences
- Staginghttps://api.staging.htech.app/v1/admin/preferences
- Productionhttps://api.herohealth.net/v1/admin/preferences
- curl
- NodeJS
- Ruby
curl -i -X PATCH \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin/preferences \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"default_notification_channel": "string"
}'- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins/{id}/prescriber
- Staginghttps://api.staging.htech.app/v1/admins/{id}/prescriber
- Productionhttps://api.herohealth.net/v1/admins/{id}/prescriber
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins/{id}/prescriber' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "id": "string", "email": "user@example.com", "full_name": "string", "registration_code": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin_teams
- Staginghttps://api.staging.htech.app/v1/admin_teams
- Productionhttps://api.herohealth.net/v1/admin_teams
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin_teams?page_index=string&page_size=string&order_by=admin_team_name&order_descending=true&admin_id=string' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "count": 0 }