POST
/
api
/
v1
/
accounts
/
{account_id}
/
webhooks
curl --request POST \
  --url https://app.chatwoot.com/api/v1/accounts/{account_id}/webhooks \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "subscriptions": [
    "conversation_created"
  ]
}'
{
  "id": 123,
  "url": "<string>",
  "subscriptions": [
    "conversation_created"
  ],
  "account_id": 123
}

Path Parameters

account_id
integer
required

The numeric ID of the account

Body

application/json

Response

200
application/json
Success

The response is of type object.