---
title: "POST /v1/agents/{agent_id}/webhooks"
method: POST
path: "/v1/agents/{agent_id}/webhooks"
tags: ["webhooks"]
---

# POST /v1/agents/{agent_id}/webhooks

`POST /v1/agents/{agent_id}/webhooks`

## Path parameters

- `agent_id` string, uuid, required

## Request body

- CreateWebhookBody
  - `events` string[], required
  - `url` string, required

## Response `201`

- CreateWebhookResponse
  - `created_at` string, required
  - `events` string[], required
  - `signing_secret` string, required
  - `status` string, required
  - `url` string, required
  - `webhook_id` string, uuid, required

## Other responses

- `400`

---

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