Creates a webhook for the authenticated practice group.
API Reference
/- List Webhook Executions
Create a Webhook
List Webhooks
Delete a Webhook
List Webhook Executions
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/
Bodyapplication/jsonrequired
Enum"appointment.confirmed""appointment.cancelled""appointment.rescheduled""prescription.issued""patient.medical-record-updated""patient.added-to-sequence"
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks
- Staginghttps://api.staging.htech.app/v1/webhooks
- Productionhttps://api.herohealth.net/v1/webhooks
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"description": "string",
"event_type": "appointment.confirmed",
"signing_key": "string",
"url": "http://example.com",
"headers": {
"property1": "string",
"property2": "string"
}
}'Response
application/json
{ "id": "string", "event_type": "string", "url": "string", "signing_key": "string", "headers": { "property1": "string", "property2": "string" }, "created_at": "string", "updated_at": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks
- Staginghttps://api.staging.htech.app/v1/webhooks
- Productionhttps://api.herohealth.net/v1/webhooks
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks?event_type=string' \
-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/webhooks/{id}
- Staginghttps://api.staging.htech.app/v1/webhooks/{id}
- Productionhttps://api.herohealth.net/v1/webhooks/{id}
- curl
- NodeJS
- Ruby
curl -i -X DELETE \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks/{id}' \
-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/webhooks/{id}/executions
- Staginghttps://api.staging.htech.app/v1/webhooks/{id}/executions
- Productionhttps://api.herohealth.net/v1/webhooks/{id}/executions
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/webhooks/{id}/executions' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "count": 0 }