Send one delivery again
POST
/v1/webhooks/{id}/deliveries/{delivery}/resend
const url = 'https://api.sotirea.com/v1/webhooks/1/deliveries/1/resend';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sotirea.com/v1/webhooks/1/deliveries/1/resend \ --header 'Authorization: Bearer <token>'Sends the same event, with the same webhook-id, so your handler can tell it is the one it may already have.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The webhook’s id.
delivery
required
integer
The delivery’s id, from GET /v1/webhooks/{id}.
Responses
Section titled “Responses”Done.
Media typeapplication/json
object
data
required
object
done
required
boolean
meta
object
request_id
Quote it when asking about a request; it is in the X-Request-Id header too.
string
success
required
Example
{ "success": true}default
Section titled “default”Refused or failed, in words a person can act on.
Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id
Quote it when asking about a request.
string
success
required
Example
{ "success": false}