Webhooks
Responses
200
Success
application/json
_idstringOptional
Unique identifier of the webhook.
urlstring · urlOptional
URL where the webhook will receive notifications.
eventsstring[]Optional
array with events name
get/webhooks
GET /api/webhooks HTTP/1.1
Accept: */*
200
Success
[
{
"_id": "text",
"url": "text",
"events": [
"text"
]
}
]Body
_idstringOptional
Unique identifier of the webhook.
urlstring · urlOptional
URL where the webhook will receive notifications.
eventsstring[]Optional
array with events name
Responses
201
A webhook id
application/json
idstringOptional
The webhook ID.
post/webhooks
POST /api/webhooks HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"_id": "text",
"url": "text",
"events": [
"text"
]
}201
A webhook id
{
"id": "text"
}Path parameters
idstringRequired
Responses
200
Success
application/json
_idstringOptional
Unique identifier of the webhook.
urlstring · urlOptional
URL where the webhook will receive notifications.
eventsstring[]Optional
array with events name
get/webhooks/{id}
GET /api/webhooks/{id} HTTP/1.1
Accept: */*
200
Success
{
"_id": "text",
"url": "text",
"events": [
"text"
]
}Last updated