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

NameInTypeRequiredWhat it is
webhook_idpathstringYes

Answer

200. The webhook.

200
{
  "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"
}
FieldTypeAlwaysWhat it is
idstringYes
projectstringYes
urlstringYes
types"sandbox.creating" | "sandbox.running" | "sandbox.stopping" | "sandbox.sleeping" | "sandbox.waking" | "sandbox.stopped" | "sandbox.deleting" | "sandbox.deleted" | "sandbox.error" | "sandbox.changed"[]YesThe types it takes; empty takes every type.
descriptionstring | nullYes
enabledbooleanYes
disabled_reason"failing" | nullYes
secret_rotation_ends_atstring | nullYesWhile a rotation's overlap runs, when the old secret stops signing; null otherwise.
created_bystringYesThe identity account or key id that made it.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
updated_atstringYesRFC 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

ClientCall
TypeScriptpod.webhooks.get(id)
Pythonpod.webhooks.get(id)