Skip to main content
POST
Create a webhook endpoint

Authorizations

__session
string
cookie
required

Admin panel session cookie (HttpOnly), issued when a workspace admin signs in. Webhook and analytics endpoints are part of the Admin API surface and are not accessible with a device credential.

Body

application/json
url
string<uri>
required

HTTPS URL to receive webhook deliveries.

event_types
enum<string>[]
required
Minimum array length: 1

See Webhooks — event types for payload schemas.

Available options:
session.opened,
session.ended,
guardrail.fired,
fraud.blocked,
credential.revoked,
kiosk.updated,
document.processed,
escalation.created
enabled
boolean
default:true

Response

Webhook endpoint created

id
string
Example:

"wh_9f2a1c"

url
string<uri>
Example:

"https://example.com/webhooks/humain"

event_types
enum<string>[]

See Webhooks — event types for payload schemas.

Available options:
session.opened,
session.ended,
guardrail.fired,
fraud.blocked,
credential.revoked,
kiosk.updated,
document.processed,
escalation.created
enabled
boolean
secret_prefix
string

First 8 characters of the signing secret, for identification only.

Example:

"whsec_a1"

created_at
string<date-time>
secret
string

Full HMAC signing secret. Shown only in the response to POST /api/v1/webhooks — store it immediately, it cannot be retrieved again.

Example:

"whsec_a1b2c3d4e5f6..."