Skip to main content
External systems can trigger a claw session by calling a webhook endpoint. No login session is required — the webhook_id path parameter itself acts as the bearer secret. Both POST and GET are supported. They have the same behavior; the only difference is how the prompt is passed.

1. Trigger via POST

Content-Type can be application/json, text/plain, or any other type. The entire HTTP request body is delivered directly to the claw as the prompt. The body is not parsed, and it does not need to be valid JSON. This makes integration with external systems almost zero-cost. Default webhook payloads from services such as GitHub, Linear, Zapier, and others can be forwarded directly.

Request Body

The body can be any text content. All examples below are valid:

Success Response

HTTP 200

Response Fields

Execution is asynchronous. When chat_token is returned, the claw may not have started processing yet. The caller should poll the message API to retrieve the reply/status.

2. Trigger via GET

GET triggering is provided for convenient browser or curl usage.

Query Parameters

Success Response

The response structure is the same as the POST trigger response.

3. Error Responses

Disabled Webhook

Deleted or Non-existent Webhook


4. cURL Examples

POST Example

The entire request body is used as the prompt.

GET Example

The text query parameter is used as the prompt.