List Webhooks
List webhook subscriptions owned by the authenticated user. Secrets are never returned by this endpoint.
Endpoint
GET /v1/webhooks
Weight: 2 Authentication: Required (signed) — see Authentication.
Query parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
status | enum<active|paused|broken> | NO | Filter to webhooks in this status. Omit to return all. |
event | string | NO | Filter to webhooks subscribed to this event type. Wildcard subscriptions match concrete events (e.g. a webhook subscribed to strategy.* is returned when event=strategy.deployed). |
limit | integer | NO | Page size. Range 1–100. Default 25. |
cursor | string | NO | Opaque pagination cursor returned by a previous call. |
Response
{
"data": [
{
"id": "wh_2a4f10",
"url": "https://example.com/pipai-webhook",
"events": ["strategy.deployed", "strategy.position_opened", "strategy.error", "backtest.job_done"],
"description": "Production strategy alerts",
"status": "active",
"consecutive_failures": 0,
"last_delivery_at": "2026-04-29T11:58:32Z",
"last_success_at": "2026-04-29T11:58:32Z",
"created_at": "2026-04-20T09:00:00Z"
},
{
"id": "wh_91b3ac",
"url": "https://ops.example.com/pipai-alerts",
"events": ["account.balance_low", "account.api_key_rotated"],
"description": "Ops alerts",
"status": "paused",
"consecutive_failures": 0,
"last_delivery_at": "2026-04-28T20:14:11Z",
"last_success_at": "2026-04-28T20:14:11Z",
"created_at": "2026-04-15T14:32:08Z"
}
],
"next_cursor": null
}
Response fields
| Field | Type | Description |
|---|---|---|
data | array<object> | Page of webhook objects. See the Create endpoint for full field semantics. The secret and _secret_warning fields are never included in list responses. |
next_cursor | string|null | Opaque cursor for the next page, or null if this is the last page. |
Errors
400 INVALID_PARAMETER—limitout of range,statusnot one of the accepted values,eventis not a known event type or wildcard, orcursoris malformed.403 INSUFFICIENT_PERMISSION— the API key lacks thewebhooks:readscope.
See Errors for the full list.
Example
curl -G "https://api.pipai.example/v1/webhooks" \
--data-urlencode "status=active" \
--data-urlencode "limit=50" \
-H "X-PipAI-API-Key: $API_KEY" \
-H "X-PipAI-Timestamp: $TS" \
-H "X-PipAI-Signature: $SIG"