---
title: "List webhooks"
method: GET
path: "/organizations/{organization}/databases/{database}/webhooks"
tags: ["Webhooks"]
---

# List webhooks

`GET /organizations/{organization}/databases/{database}/webhooks`

List webhooks for a database
### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `read_database`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `read_databases` |
| Database | `read_database` |

## Path parameters

- `organization` string, required
- `database` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Returns a list of webhooks for a database

- object
  - `type` string, required — The response type. Always "list" for paginated responses.
  - `current_page` integer, required — The current page number
  - `per_page` integer, required — The maximum number of results per page
  - `next_page` integer, nullable, required — The next page number, or null when this is the last page
  - `next_page_url` string, nullable, required — The next page of results, or null when this is the last page
  - `prev_page` integer, nullable, required — The previous page number, or null when this is the first page
  - `prev_page_url` string, nullable, required — The previous page of results, or null when this is the first page
  - `data` object[], required
    - `id` string, required — The ID of the webhook
    - `url` string, required — The URL the webhook will send events to
    - `secret` string, required — The secret used to sign the webhook payloads
    - `enabled` boolean, required — Whether the webhook is enabled
    - `last_sent_result` string, required — The last result sent by the webhook
    - `last_sent_success` boolean, required — Whether the last sent was successful
    - `last_sent_at` string, nullable, required — When the last event was sent
    - `created_at` string, required — When the webhook was created
    - `updated_at` string, required — When the webhook was updated
    - `events` string[], required — The events this webhook subscribes to

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-28** `6d28c038c4fd` — 2 warning
  - added the new `backup.failed` enum value to the `data/items/events/items/` response property for the response status `200`
  - added the new `backup.succeeded` enum value to the `data/items/events/items/` response property for the response status `200`
- **2026-08-11** `4b2e4f05bda2` — 1 info
  - added the required property `per_page` to the response with the `200` status
- **2026-06-01** `72506953f367` — 5 breaking, 1 info
  - the response property `data/items/last_sent_at` became nullable for the status `200`
  - the response property `next_page` became nullable for the status `200`
  - the response property `next_page_url` became nullable for the status `200`
  - the response property `prev_page` became nullable for the status `200`
  - …2 more
- **2026-02-24** `3c33e46f8ff2` — 1 warning
  - added the new `branch.out_of_memory` enum value to the `data/items/events/items/` response property for the response status `200`
- **2025-12-09** `d710019068fb` — 2 breaking
  - for the `query` request parameter `page`, the type/format was changed from `number`/`` to `integer`/``
  - for the `query` request parameter `per_page`, the type/format was changed from `number`/`` to `integer`/``

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/databases/:database/webhooks/get.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
