viakite
Dashboard

API/Webhooks/Make a new signing secret

Make a new signing secret

POST/v1/orgs/{org}/webhooks/{webhook}/rotate-secret

The old secret stops at once.

Secret keyapi.vk.viabio.me

Path parameters

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

Responses

The webhook, with the new 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
404not_found
503provider_not_configured