Resend a specific Webhook Endpoint Event
This endpoint resends the event specified as parameter to the endpoint specified by the id parameter
info
This operation requires authentication and admin role.
HTTP Request
POST /api/v2/webhook/endpoint/{id}/event/resend/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | A unique integer value identifying this endpoint |
event | body | integer | true | The id of the event triggered by webhooks |
Example Body Parameters
- JSON
{
"event": "integer"
}
Example Request
- JavaScript
- Bash
const inputBody = '{
"event": "integer"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};
fetch('/api/v2/webhook/endpoint/{id}/event/resend/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
# You can also use wget
curl -X POST /api/v2/webhook/endpoint/{id}/event/resend/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
-H 'Authorization: Bearer {access_token}' \
--data-raw '{
"event": "integer"
}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Response status code | None |