The project's deploy hook
GET/ v1/ projects/ {project}/ deploy-hook
When it was made and last called; the address itself is shown only when the hook is made.
Path parameters
project
The project's id (
prj_…).Responses
The deploy hook, without its address.
id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).project_id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).url
The address to call, with its secret. Only in the answer that makes the hook.
created_by
The person's or key's id.
created_at
A time in UTC, ISO 8601.
last_used_at
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}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
not_found |