ApiPublic > WebhookSubscription
Creates a Webhook subscription
Changed onCreates a Webhook subscription
post/api/2026-10-01/resources/api_public/webhook_subscriptions
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/api_public/webhook_subscriptions
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token
- or API key in header x-api-key
Request body
Example request
{
"subscription_type": "ats/job_posting/create",
"target_url": "https://webhook.site/",
"name": "Webhook subscription of a job posting created",
"challenge": "2bca4e6d-9aaf-4f11-9e5d",
"company_id": "1",
"enabled": true
}Response
CREATED
Example response
{
"id": "1",
"target_url": "https://webhook.site/",
"type": "ats/job_posting/create",
"company_id": "1",
"name": "Webhook subscription of a job posting created",
"challenge": "2bca4e6d-9aaf-4f11-9e5d",
"enabled": true,
"api_version": "2026-07-01"
}Changes
- info
endpoint added
- info