Register a webhook
Changed onRegister a webhook URL to receive event notifications.
Omit posting_id to subscribe to every posting in the workspace, including ones created later. Pass it to scope the webhook to a single posting. A workspace-scoped and a posting-scoped webhook that both match an event each receive their own delivery.
The response includes a signing_secret (whsec_…) returned only once — store it securely. Deliveries are signed with it; see the signing_secret field for the verification scheme.
Request
- Base URLhttps://api.heymilo.ai
- URLhttps://api.heymilo.ai/api/v2/webhooks
- AuthAPI key in header X-API-KEY
Headers
Request body
Example request
{
"posting_id": "13D77095",
"webhook_url": "https://webhook.site/test",
"event_type": "interview_completed"
}Response
Successful Response
Example response
{
"data": {
"webhook_id": "42AE4CFA720B1C35D499E9E39C14F321",
"posting_id": "13D77095",
"webhook_url": "https://webhook.site/test",
"event_type": "interview_completed",
"created_at": 1739612400,
"updated_at": 1739617200,
"signing_secret": "whsec_a1b2c3d4e5f6..."
}
}Changes
- breaking
the response property
/became optional for the status - breaking
response property
data/posting_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response201 - info
the request property
became optional - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json
- breaking
- info
added the required property
/to the response with the status
- info