---
title: "Send to a webhook (Beta)"
method: POST
path: "/v2/webhooks/{workbookId}/{sequenceId}"
---

# Send to a webhook (Beta)

`POST /v2/webhooks/{workbookId}/{sequenceId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/webhooks/{workbookId}/{sequenceId}`
- Auth: HTTP bearer

Post data to a webhook endpoint. The request body must match the webhook specification configured in Sigma.

**Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer.

To retrieve the expected request body fields before sending data, see the [/v2/webhooks/{workbookId}/{sequenceId}/schema](getwebhookschema) endpoint.

### Usage notes
- Retrieve the **workbookId** by calling the [/v2/workbooks](listworkbooks) endpoint.
- Retrieve the webhook URL, which contains the **workbookId** and **sequenceId**, by creating a webhook through the Sigma UI. The URL will be formatted as `/v2/webhooks/{workbookId}/{sequenceId}`.

## Path parameters

- `workbookId` string, required
- `sequenceId` string, required

## Request body

- object

## Response `202`

The accepted webhook action, including its trace ID when available.

- SendToWebhookResponse202: The accepted webhook action, including its trace ID when available.
  - `traceId` string: The action trace ID.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
