viakite
Dashboard

API/Goals and settings/Make the deploy hook, or a new address for it

Make the deploy hook, or a new address for it

POST/v1/projects/{project}/deploy-hook

Answers the hook with url, the secret address a deploy calls. It is shown this once: only a hash is kept. When the project already has a hook, its old address stops working at once. No body.

Secret keyNeeds analytics.manageus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Responses

The deploy hook, with its address.

idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
project_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
urlstring
The address to call, with its secret. Only in the answer that makes the hook.
created_bystringrequired
The person's or key's id.
created_atstring · date-timerequired
A time in UTC, ISO 8601.
last_used_atstring · date-time | nullrequired
The last call that added a note; null when never called.
Example response
1{
2 "id": "id_01JD8Q2M4W9XK3T7B5",
3 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
4 "url": "https://example.com/hooks/viakite",
5 "created_by": "acc_01JD8Q2M4W9XK3T7B5",
6 "created_at": "2026-11-21T09:30:00Z",
7 "last_used_at": "2026-11-21T09:30:00Z"
8}