cURL
curl --request POST \ --url https://chat.zoko.io/v2/webhook \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "url": "https://client.webhooklabs.com", "events": [ "message:user:in", "message:delivery:update" ], "challengeToken": "client0_letmein" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "https://client.webhooklabs.com", "challengeToken": "CHALLENGE_TOKEN", "events": [ "message:user:in" ] }
Create a new webhook
Authentication is done via apikey provided for your account
apikey
Include the following in your request header
apikey: "your_apikey_here"
Webhook data
Webhook input data
Created webhook details
Webhook response data