Webhook
Get Webhook
Retrieve webhook details
GET
/
webhook
/
{id}
Authorization
Path
curl --request GET \
--url https://chat.zoko.io/v2/webhook/{id} \
--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"
Path Parameters
id
string
requiredID of webhook
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/{id} \
--header 'apikey: <apikey>'
{
"challengeToken": "CHALLENGE_TOKEN",
"events": [
"message:user:in"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://client.webhooklabs.com"
}