---
title: "GET /api/database/webhooks/{webhook_id}/"
method: GET
path: "/api/database/webhooks/{webhook_id}/"
tags: ["Database table webhooks"]
---

# GET /api/database/webhooks/{webhook_id}/

`GET /api/database/webhooks/{webhook_id}/`

Returns the existing webhook if the authorized user has access to the related database workspace.

## Path parameters

- `webhook_id` integer, required

## Response `200`

- TableWebhook
  - `id` integer, required
  - `events` object, required — A list containing the events that will trigger this webhook.
  - `event_config` TableWebhookEventConfig[], required — A list containing the addition event options.
    - `event_type` 'rows.created' | 'rows.updated' | 'rows.deleted' | 'field.created' | 'field.updated' | 'field.deleted' | 'view.created' | 'view.updated' | 'view.deleted' | 'view.rows_entered', required — * `rows.created` - rows.created * `rows.updated` - rows.updated * `rows.deleted` - rows.deleted * `field.created` - field.created * `field.updated` - field.updated * `field.deleted` - field.deleted * `view.created` - view.created * `view.updated` - view.updated * `view.deleted` - view.deleted * `view.rows_entered` - view.rows_entered
    - `fields` integer[] — A list of field IDs that are related to the event.
    - `views` integer[] — A list of view IDs that are related to the event.
  - `headers` object, required — The additional headers as an object where the key is the name and the value the value.
  - `calls` TableWebhookCall[], required — All the calls that this webhook made.
    - `id` integer, required
    - `event_id` string, uuid, required — Event ID where the call originated from.
    - `event_type` string, required
    - `called_time` string, date-time, nullable
    - `called_url` string, required
    - `request` string, required — A text copy of the request headers and body.
    - `response` string, required — A text copy of the response headers and body.
    - `response_status` integer, nullable — The HTTP response status code.
    - `error` string, nullable — An internal error reflecting what went wrong.
  - `created_on` string, date-time, required
  - `updated_on` string, date-time, required
  - `use_user_field_names` boolean — Indicates whether the field names must be used as payload key instead of the id.
  - `url` string, required — The URL that must be called when the webhook is triggered.
  - `request_method` 'POST' | 'GET' | 'PUT' | 'PATCH' | 'DELETE' — * `POST` - Post * `GET` - Get * `PUT` - Put * `PATCH` - Patch * `DELETE` - Delete
  - `name` string, required — An internal name of the webhook.
  - `include_all_events` boolean — Indicates whether this webhook should listen to all events.
  - `failed_triggers` integer — The amount of failed webhook calls.
  - `active` boolean — Indicates whether the web hook is active. When a webhook has failed multiple times, it will automatically be deactivated.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
