SurfacedBySurfacedBy Docs
DocumentationConsoleReference

Webhooks

Register, list, read, and delete Console webhook endpoints.

Ask an AI:Open in ChatGPTOpen in Claude

A webhook endpoint receives signed HTTP POSTs for the event types it subscribes to. Register one with url (HTTPS only), events, and optionally description and enabled. The register response includes the signing_secret exactly once; store it immediately, because it cannot be shown again. The list and single-endpoint reads return id, url, events, enabled, description, and created_at.

For event types, the payload envelope, signature verification, and retries, see Console webhooks.

GET
/webhooks
/webhooks

Header Parameters

X-API-KeyX-Api-Key

curl -X GET "https://api.surfacedby.com/api/v1/console/webhooks" \
  -H "X-API-Key: string"

Successful Response

null

POST
/webhooks
/webhooks

Request Body

application/jsonRequired

[key: string]any

Header Parameters

X-API-KeyX-Api-Key

curl -X POST "https://api.surfacedby.com/api/v1/console/webhooks" \
  -H "X-API-Key: string" \
  -H "Content-Type: application/json" \
  -d '{}'

Successful Response

null

GET
/webhooks/{endpoint_id}
/webhooks/{endpoint_id}

Path Parameters

endpoint_id
Required
Endpoint Id

Header Parameters

X-API-KeyX-Api-Key

curl -X GET "https://api.surfacedby.com/api/v1/console/webhooks/string" \
  -H "X-API-Key: string"

Successful Response

null

DELETE
/webhooks/{endpoint_id}
/webhooks/{endpoint_id}

Path Parameters

endpoint_id
Required
Endpoint Id

Header Parameters

X-API-KeyX-Api-Key

curl -X DELETE "https://api.surfacedby.com/api/v1/console/webhooks/string" \
  -H "X-API-Key: string"

Successful Response

null