Skip to the page

List webhooks

The endpoints of the workspace with the events each one receives.

webhooks_list
Needs the scopewebhooks:read
Only reads

Arguments

  • qstring

    Text to search for. Only items that contain it are returned. Up to 40 characters.

  • limitinteger

    How many items to return, from 1 to 100. Without it you get 25.

  • offsetinteger

    How many items to skip. Use it with limit to read the next page. Default: 0.

  • afterstring

    The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.

  • beforestring

    The id of the first item you have. The answer ends with the item just before it. Give this or after, not both. Up to 64 characters.

  • statusstring

    Only webhooks in this state: enabled or disabled.

    One ofenableddisabled

Returns

The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.

  • object"list"

    Always list.

  • dataobject[]

    The items on this page.

  • data[].object"webhook"

    Always webhook.

  • data[].idstring

    The id of the webhook.

  • data[].urlstring

    The address events are posted to.

  • data[].eventsstring[]

    The events it is told about.

    One ofemail.sentemail.deliveredemail.delayedemail.bouncedemail.openedemail.clickedemail.complainedemail.failedemail.receivedemail.scheduledemail.canceledautomation.enteredautomation.finishedautomation.step

  • data[].statusstring

    enabled while events are posted to it, disabled when it is switched off.

    One ofenableddisabled

  • data[].formatstring

    How an event is written and signed: native is this API, resend is the headers, signature and body an endpoint built for Resend expects.

    One ofnativeresend

  • data[].lastDeliveryAtstring | null

    When an event was last posted to it, or null.

  • data[].lastStatusinteger | null

    The HTTP status your address answered with last time, or null.

  • data[].createdAtstring

    When the webhook was added.

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.