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 authentication and admin role.
HTTP Request
POST /api/v2/webhook/endpoint/{id}/event/resend/bulk/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | A unique integer value identifying this endpoint |
event | body | list(integer) | true | Array of ids of Events that the endpoint must resend |
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/bulk/',
{
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/bulk/ \
-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 |