Webhook
List Webhooks
Retrieve all webhooks for the account
GET
/
webhook
Authorization
curl --request GET \
--url https://chat.zoko.io/v2/webhook \
--header 'apikey: <apikey>'
[
{
"challengeToken": "CHALLENGE_TOKEN",
"events": [
"message:user:in"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://client.webhooklabs.com"
}
]
Authorizations
apikey
string
headerrequiredAuthentication is done via apikey
provided for your account
Include the following in your request header
apikey: "your_apikey_here"
Response
200 - application/json
challengeToken
string
events
enum<string>[]
Available options:
message:user:in
, message:store:out
, message:delivery:update
id
string
url
string
curl --request GET \
--url https://chat.zoko.io/v2/webhook \
--header 'apikey: <apikey>'
[
{
"challengeToken": "CHALLENGE_TOKEN",
"events": [
"message:user:in"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://client.webhooklabs.com"
}
]