Skip to Content
Pouch
Webhook endpoints

Read a webhook endpoint

GET
/v1/webhook_endpoints/{id}

Auth: Bearer key with no domain scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, key_id, url, events, description, disabled, last_success_at, last_failure_at, created_at.

Response Body

The endpoint. Never its secret.

application/json
  1. response
id?string

Opaque id, prefixed whk_.

key_id?string

The key whose sends produce this endpoint's events.

url?string

Where Pouch posts.

events?array<string>

Events this endpoint receives.

description?|

The note it was created with, or null.

disabled?boolean

True while delivery is stopped, by request or by too many exhausted deliveries.

last_success_at?|

ISO 8601 timestamp of the last 2xx, or null.

last_failure_at?|

ISO 8601 timestamp of the last failed attempt, or null.

created_at?string

ISO 8601 timestamp.

Example Request
curl -X GET 'https://pouch.example.com/v1/webhook_endpoints/string'
Example Response
{  "id": "string",  "key_id": "string",  "url": "string",  "events": [    "string"  ],  "description": "string",  "disabled": true,  "last_success_at": "string",  "last_failure_at": "string",  "created_at": "string"}