viakite
Dashboard

API/Webhooks/Change a webhook, or turn it on or off

Change a webhook, or turn it on or off

PATCH/v1/orgs/{org}/webhooks/{webhook}

Absent fields stay as they are.

Secret keyapi.vk.viabio.me

Path parameters

orgstringrequired
The organization's id (org_…).
webhookstringrequired
The webhook's id.

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 webhook.

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
404not_found