spicrawlspicrawlDocs
Webhooks

List webhook endpoints

Every webhook endpoint of the calling key's organization. Not paginated.

Requires scope: webhooks

GET
/v1/webhooks

Every webhook endpoint of the calling key's organization. Not paginated. The signing secret is never returned by this route; see POST /v1/webhooks and rotate-secret.

Scope webhooks; the read scope is also accepted on every GET route under /v1/webhooks.

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment variable; never hard-code or log it. spicrawl_test_… keys can never spend live credits. Scopes: scrape, batch, sessions (granted by default), browser and read (granted deliberately), and partner (only on a partner account's key). A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhooks"
{  "data": [    {      "id": "0190f3a2-7c1e-7d4b-9a2f-3b8e5c6d7e80",      "name": "string",      "url": "http://example.com",      "events": [        "batch.completed"      ],      "format": "json",      "enabled": true,      "disabled_reason": "string",      "consecutive_failures": 0,      "last_success_at": "2019-08-24T14:15:22Z",      "last_failure_at": "2019-08-24T14:15:22Z",      "secret_version": 1,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}