Register a URL for event types
POST/ v1/ orgs/ {org}/ webhooks
The answer carries the signing secret (whsec_…), never shown again.
Path parameters
org
The organization's id (
org_…).Body
url
Https:// (http:// too on a local server).
description
event_types
project_ids
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).is_enabled
Responses
The new webhook, with secret set.
id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).org_id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).url
description
event_types
project_ids
Only events of these projects; none means all.
is_enabled
secret
The signing secret; only in the answer to create and rotate-secret.
created_at
A time in UTC, ISO 8601.
updated_at
A time in UTC, ISO 8601.
Example response
1{2"id": "whk_01JD8Q2M4W9XK3T7B5",3"org_id": "org_01JD8Q2M4W9XK3T7B5",4"url": "https://example.com/viakite",5"description": "string",6"event_types": [7"string"8],9"project_ids": [10"prj_01JD8Q2M4W9XK3T7B5"11],12"is_enabled": true,13"secret": "string",14"created_at": "2026-11-21T09:30:00Z",15"updated_at": "2026-11-21T09:30:00Z"16}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
validation_error | |
provider_not_configured |