viakite
Dashboard

API/Webhooks/Register a URL for event types

Register a URL for event types

POST/v1/orgs/{org}/webhooks

The answer carries the signing secret (whsec_…), never shown again.

Secret keyapi.vk.viabio.me

Path parameters

orgstringrequired
The organization's id (org_…).

Body

urlstringup to 2048 chars
Https:// (http:// too on a local server).
descriptionstringup to 255 chars
event_typesstring[]
project_idsstring[]up to 100 items
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
is_enabledboolean

Responses

The new webhook, with secret set.

idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
org_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
urlstringrequired
descriptionstringrequired
event_typesstring[]required
project_idsstring[]required
Only events of these projects; none means all.
is_enabledbooleanrequired
secretstring
The signing secret; only in the answer to create and rotate-secret.
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
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.

StatusCode
422validation_error
503provider_not_configured