Skip to content

Get webhook configuration

Returns the webhook configuration of a client.

Endpoint: GET /v1/webhook/config

Parameters

Query

ParameterTypeRequiredDescription
client_idnumberNoClient to query. Requires BSP_CN if it differs from the token.

Request

curl --request GET \
  --url 'https://api.chattigo.com/v1/webhook/config?client_id=6' \
  --header 'Authorization: Bearer <token>'

Response

Success (200)

{
  "client_id": 1001,
  "url": "https://hooks.chattigo.com/evt",
  "active": true
}

Errors

CodeCase
400Invalid client_id
403client_id different from the token without BSP_CN
404No configuration exists for that client