Subscribe an address to events (REST hook); signing secret shown once
POST
/v1/integration-api/subscriptions
const url = 'https://api.academy.example.com/v1/integration-api/subscriptions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"url":"https://hooks.zapier.com/hooks/standard/123/abc","events":["person.created","invitation.accepted"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.academy.example.com/v1/integration-api/subscriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "https://hooks.zapier.com/hooks/standard/123/abc", "events": [ "person.created", "invitation.accepted" ] }'Versioned integration contract.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
url
required
string
events
required
Array<string>
description
string
Example
{ "url": "https://hooks.zapier.com/hooks/standard/123/abc", "events": [ "person.created", "invitation.accepted" ]}Responses
Section titled “Responses”Success
Media typeapplication/json
object
id
required
string format: uuid
webhook
required
object
id
required
string format: uuid
url
required
string
description
required
string
events
required
Array<string>
format
required
string
locale
required
string
secretHint
required
string
active
required
boolean
createdAt
required
string format: date-time
pending
required
number
secret
required
string
Example
{ "id": "6f1c2a10-0000-4000-8000-000000000301", "webhook": { "id": "6f1c2a10-0000-4000-8000-000000000301", "url": "https://hooks.zapier.com/hooks/standard/123/abc", "description": "Automation", "events": [ "person.created", "invitation.accepted" ], "format": "json", "locale": "en", "team": null, "secretHint": "whsec_AbCd", "active": true, "pausedReason": null, "createdAt": "2026-11-03T08:00:00.000Z", "lastSuccessAt": null, "lastFailureAt": null, "pending": 0 }, "secret": "whsec_AbCdEfGh…"}default
Section titled “default”Error; error and message identify the reason
Media typeapplication/json
object
error
required
Stable code, e.g. insufficient_scope, not_found, validation_failed
string
message
string
Example generated
{ "error": "example", "message": "example"}