/webhooks/

POST {{url}}/a/{{client_id}}/webhooks/

Creates a new webhook for the specified client ID

Request Body

{"callback_url"=>"https://084eb929.ngrok.io/webook", "triggers"=>["message.opened"], "state"=>"active"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"application_id":"6yvh3ynadnwqtumyfper72svf","callback_url":"https://084eb929.ngrok.io/webhook","id":"6cclep8i8aqknqnjqxsgs3ycw","state":"active","triggers":["message.opened"],"version":"2.0"}