Hoppa till innehållet

List the webhooks

GET/v1/webhooks

TypeScript sendora.webhooks.list()

Python sendora.webhooks.list()

PHP $sendora->webhooks->list()

Java sendora.webhooks().list()

Key sk_… a server key

Responses

Every field of a response is always present. A field that can be null says so in its type.

200Every webhook of the server.

Example

{
  "webhooks": [
    {
      "webhookId": "7c1e4d2a-0b9f-4a3e-8d6c-5e2f1a9b8c70",
      "url": "https://example.se/hooks/sendora",
      "events": [
        "delivered",
        "bounced",
        "spam_complaint"
      ],
      "streamId": null,
      "enabled": true,
      "inboundContent": "full",
      "createdAt": "2026-09-15T12:00:00.000Z",
      "secrets": [
        {
          "secretId": "4a5b6c7d-8e9f-4a0b-8c1d-2e3f4a5b6c7d",
          "createdAt": "2026-09-15T12:00:00.000Z"
        }
      ]
    }
  ]
}
  • webhooksarray of object
    • webhookIdstring (uuid)
    • urlstring

      Where the events are posted.

    • eventsarray of "delivered" | "bounced" | "deferred" | "spam_complaint" | "unsubscribed" | "opened" | "clicked" | "tracking_opted_out" | "cap_warning" | "cap_reached" | "inbound" | "inbound_cap_warning" | "inbound_cap_reached"
    • streamIdstring (uuid) or null

      The one stream whose message events it receives; null for every stream.

    • enabledboolean

      False while switched off in the dashboard; nothing is queued for it then.

    • inboundContent"full" | "reference"

      How the inbound event carries a received message: the parsed message, or a reference.

    • createdAtstring (date-time)
    • secretsarray of object

      The live secrets, oldest first; every delivery is signed with each of them, the newest first in Sendora-Signature.

      • secretIdstring (uuid)
      • createdAtstring (date-time)

Errors

Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.

CodeStatusMeaning
unauthorized401The key is missing, malformed or revoked.
wrong_token_kind403The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.
not_for_connections403A connected app called an operation that no tool of the MCP server calls. An API key can.
read_only_connection403A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.
test_server_only403A connected app may create a secret, or do what cannot be undone, on a test server only.
  • WWW-Authenticateheader on 401"Bearer"

    Always Bearer: send the key as Authorization: Bearer <key>.