Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Your company's API key, from Settings → Integrations in Alex. The earlier API's api-key header is accepted too; if you send both headers they must carry the same key.

Headers

Idempotency-Key
string

A unique value, 1 to 255 characters, that makes the request safe to retry. See Idempotency.

Required string length: 1 - 255

Path Parameters

id
string
required

The webhook endpoint's id.

Body

application/json

No fields. Send no body, or {}.

Response

The endpoint, with its new secret.

object
string
required

Always "webhook_endpoint".

Allowed value: "webhook_endpoint"
id
string
required
url
string<uri>
required

Where events are delivered.

event_types
(enum<string> | string)[]
required

The event types to deliver, or "*" for every type. Duplicates are removed.

Minimum array length: 1

What happened. See Events and webhooks.

Available options:
application.created,
application.stage_changed,
application.round_advanced,
application.withdrawn,
interview.started,
interview.completed,
interview.evaluated,
handoff.scheduled,
handoff.completed,
handoff.missed,
handoff.cancelled,
handoff.reopened,
job.created,
job.updated,
job.deleted,
data_export.completed
enabled
boolean
required

Whether events are delivered to it.

disabled_reason
enum<string> | null
required

failing when delivery turned the endpoint off after its attempts failed for 3 days. null otherwise.

Available options:
failing,
null
created_at
string<date-time>
required

When it was created.

updated_at
string<date-time>
required

When it last changed.

secret
string | null
required

The signing secret, shown only in this response. Store it now: it can't be read again. null when this response is an idempotent replay.