Skip to main content

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 admin role.

HTTP Request

POST /api/v2/webhook/endpoint/{id}/event/resend/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this endpoint
eventbodyintegertrueThe id of the event triggered by webhooks

Example Body Parameters

{
"event": "integer"
}

Example Request

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);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone