Events

Redeliver an event

Sends the event again: to one endpoint with {"endpoint": "we_..."}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event's webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace.

Needs an API key with the generations:write scope.

post/v1/events/{id}/redeliver

Request

  • Base URL: https://api.tryleap.ai
  • URL: https://api.tryleap.ai/v1/events/{id}/redeliver
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring required

The event's ID, evt_....

Request body

endpointstring

Send only to this endpoint. Without it, the event goes to every enabled endpoint that subscribes to its type, and to the webhook URL its request named.

Response

The deliveries it queued.

object'list' required

The list object discriminator.

urlstring required

The list's resource path, such as /v1/records.

has_moreboolean required

Whether another page is available using next_cursor.

next_cursorstring nullable required

Opaque next_cursor from the previous page. It works only for the list and filters it came from.

Changes

No recorded changes to this operation across all 1 revision of this API.