> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yampi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Webhook

> Registra un webhook (URL y eventos).

Cuerpo: url, subscriptions (eventos). Requiere **userApiKey**.

<ParamField path="account_id" type="integer" required>ID de la cuenta.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST 'https://app.yampi.ai/api/v1/accounts/1/webhooks' \
    -H 'api_access_token: TU_TOKEN' -H 'Content-Type: application/json' \
    -d '{"url":"https://mi-app.com/webhook","subscriptions":["conversation_created"]}'
  ```
</RequestExample>
