---
title: "POST /api/database/webhooks/table/{table_id}/test-call/"
method: POST
path: "/api/database/webhooks/table/{table_id}/test-call/"
tags: ["Database table webhooks"]
---

# POST /api/database/webhooks/table/{table_id}/test-call/

`POST /api/database/webhooks/table/{table_id}/test-call/`

This endpoint triggers a test call based on the provided data if the user has access to the workspace related to the table. The test call will be made immediately and a copy of the request, response and status will be included in the response.

## Path parameters

- `table_id` integer, required

## Request body

- TableWebhookTestCallRequest
  - `url` string, required — The URL that must be called when the webhook is triggered.
  - `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
  - `request_method` 'POST' | 'GET' | 'PUT' | 'PATCH' | 'DELETE' — * `POST` - Post * `GET` - Get * `PUT` - Put * `PATCH` - Patch * `DELETE` - Delete
  - `headers` object — The additional headers as an object where the key is the name and the value the value.
  - `use_user_field_names` boolean — Indicates whether the field names must be used as payload key instead of the id.

## Response `200`

- TableWebhookTestCallResponse
  - `request` string, required — A text copy of the request headers and body.
  - `response` string, required — A text copy of the response headers and body.
  - `status_code` integer, required — The HTTP response status code.
  - `is_unreachable` boolean, required — Indicates whether the provided URL could be reached.

## 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)
