Retrieves a paginated list of API keys for the authenticated practice group.
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/api_keys
- Staginghttps://api.staging.htech.app/v1/api_keys
- Productionhttps://api.herohealth.net/v1/api_keys
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/api_keys?page_index=1&page_size=20&order_by=created_at&order_descending=true' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/api_keys
- Staginghttps://api.staging.htech.app/v1/api_keys
- Productionhttps://api.herohealth.net/v1/api_keys
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/api_keys \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"partner_id": "string"
}'Response
application/json
{ "id": "string", "key": "string", "partner": { "id": "string", "name": "string" }, "expire_at": "string", "created_at": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/api_keys/{id}
- Staginghttps://api.staging.htech.app/v1/api_keys/{id}
- Productionhttps://api.herohealth.net/v1/api_keys/{id}
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/api_keys/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "id": "string", "key": "string", "expire_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "partner": { "id": "string", "name": "string" } }