POST
/
v1
/
webhook
/
resend-webhook-event
curl --request POST \
  --url https://carbonapistagingsecure.getcarbon.co/baas/api/v1/webhook/resend-webhook-event \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'x-carbon-key: <x-carbon-key>' \
  --data '{
  "event_id": ""
}'
{
  "status": "success",
  "message": "event replayed successfully"
}

Overview

This endpoint allows you to resend a webhook event to the specified endpoint.

Request

Headers

  • x-carbon-key (string, required): Your API key.

Body

{
  "event_id": "string"
}
  • event_id (string, required): The ID of the event to be resent.

Response

Example Response

{
  "status": "success",
  "message": "Webhook event resent successfully",
  "data": {}
}

Notes

  • Ensure the event_id is valid and corresponds to an existing webhook event.

Authorizations

apikey
string
header
required

Provide your API key in the 'apikey' header.

Headers

x-carbon-key
string
required

Body

application/json
Provide the required values for the request body.
event_id
string

The ID of the event to be resent.

Example:

"REF-300102"

Response

200 - application/json
Successful response

The response is of type object.