Skip to main content
POST
/
webhooks
/
{id}
/
events
/
{eventId}
/
replay
JavaScript
import Nuntly from '@nuntly/sdk';

const client = new Nuntly({
  apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted
});

const response = await client.webhooks.events.replay('evt_01ka8k8s80gvx9604cn9am5st4', {
  id: 'wh_01ka8k8s80gvx9604cn9am5st4',
});

console.log(response);
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>

Path Parameters

id
string
required

The id of the webhook

Example:

"wh_01ka8k8s80gvx9604cn9am5st4"

eventId
string
required

The id of the webhook event

Example:

"evt_01ka8k8s80gvx9604cn9am5st4"

Response

200 response

data
object
required

Response for webhook event replay