Skip to main content

Resend multiple Webhook Endpoint Event

This endpoint resends the events specified as parameters to the endpoint spacified by the id parameter.

info

This operation requires admin role.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this endpoint
eventbodylist(integer)trueArray of ids of Events that the endpoint must resend

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/bulk/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone