Get a webhook
A webhook of a project the caller cannot reach is `not_found`, as one that does not exist.
GET/v1/webhooks/{webhook_id}
A webhook of a project the caller cannot reach is not_found, as one that does not exist.
A key with the webhooks:read scope.
Request
curl "https://api.pod.mapier.ai/v1/webhooks/whk_3ahrz6dmv29gqy5ckt18fp" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
webhook_id | path | string | Yes |
Answer
200. The webhook.
{
"id": "whk_3ahrz6dmv29gqy5ckt18fp",
"project": "prj_3ahrz6dmv29gqy5ckt18fp",
"url": "https://app.example.com",
"types": ["sandbox.creating"],
"description": null,
"enabled": false,
"disabled_reason": null,
"secret_rotation_ends_at": null,
"created_by": "example",
"created_at": "2026-11-23T12:00:00.000Z",
"updated_at": "2026-11-23T12:00:00.000Z"
}| Field | Type | Always | What it is |
|---|---|---|---|
id | string | Yes | |
project | string | Yes | |
url | string | Yes | |
types | "sandbox.creating" | "sandbox.running" | "sandbox.stopping" | "sandbox.sleeping" | "sandbox.waking" | "sandbox.stopped" | "sandbox.deleting" | "sandbox.deleted" | "sandbox.error" | "sandbox.changed"[] | Yes | The types it takes; empty takes every type. |
description | string | null | Yes | |
enabled | boolean | Yes | |
disabled_reason | "failing" | null | Yes | |
secret_rotation_ends_at | string | null | Yes | While a rotation's overlap runs, when the old secret stops signing; null otherwise. |
created_by | string | Yes | The identity account or key id that made it. |
created_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
updated_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
Errors
The refusals this call is known for: forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.webhooks.get(id) |
| Python | pod.webhooks.get(id) |