viakite
Dashboard

API/Goals and settings/Put a deploy note on the charts

Put a deploy note on the charts

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

Public: the secret in the address is the check, so no key or session is sent. Call it at the end of a deploy. Adds an annotation with source deploy. Its words are the JSON body's text or ?text= ("Deploy" when neither is given), its moment the body's at or ?at= (now when neither is given). A body that is not a JSON object, and other fields of a JSON body, are ignored.

No key neededus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).
tokenstringrequired
The secret part of the deploy hook's address (vkdh_…).

Query parameters

textstringup to 500 chars
atstring
An RFC 3339 time.

Body

textstringup to 500 chars
atstring · date-time
A time in UTC, ISO 8601.

Responses

The note added.

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).
atstring · date-timerequired
A time in UTC, ISO 8601.
textstringrequired
sourcestringrequired
manualapideploy
created_bystringrequired
The person's or key's id.
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": "ann_01JD8Q2M4W9XK3T7B5",
3 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
4 "at": "2026-11-21T09:30:00Z",
5 "text": "string",
6 "source": "manual",
7 "created_by": "acc_01JD8Q2M4W9XK3T7B5",
8 "created_at": "2026-11-21T09:30:00Z",
9 "updated_at": "2026-11-21T09:30:00Z"
10}

Errors

Every error has the same shape: error.code, a message for people and details.

StatusCode
401invalid_deploy_hook
422validation_error