Skip to content

List webhooks

GET /v1/default/banks/{bank_id}/webhooks

List all webhooks registered for a bank.

Authentication required — include an Authorization: Bearer hsk_... header. See Authentication for details.

Path Parameters

NameTypeRequiredDescription
bank_idstringYes

Example Request

bash
curl -X GET 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/webhooks' \
  -H 'Authorization: Bearer hsk_your_api_key'

Responses

200 — Successful Response

json
{
  "items": [
    {
      "id": "Id",
      "bank_id": "string",
      "url": "Url",
      "secret": "string",
      "event_types": [
        "string"
      ],
      "enabled": false,
      "http_config": {
        "method": null,
        "timeout_seconds": null,
        "headers": null,
        "params": null
      },
      "created_at": "string",
      "updated_at": "string"
    }
  ]
}

422 — Validation Error

json
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "Message",
      "type": "Error Type",
      "input": null,
      "ctx": {},
      "url": "URL"
    }
  ]
}

Source: /v1/default/banks/{bank_id}/webhooks