Skip to content

FISCALISTO / API / REFERENCE

Resend an event · Events

Open in ChatGPTOpen in ClaudeOpen in Cursor
POST
/v1/events/{id}/resend

Sends again, now, an event from the last 30 days: to one webhook (endpoint) or to all the enabled ones that listen for that type. It's a separate attempt, signed with the same webhook-id: it doesn't change the automatic retries, and if it arrives, it's no longer retried. Use it after fixing your server, with GET /v1/events?delivery_success=false.

Before you call

  • A key for the whole account: not limited to some issuers or to a test environment.

Authorization

bearerAuth
headerAuthorizationBearer <key>

Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.

Path parameters

id*string

The object's id.

Headers

Idempotency-Key?string

Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).

Length1 <= length <= 255

Request body

application/json
  1. body
endpoint?string

The webhook (whe_…) to send it to again. Not sent: to all enabled webhooks that listen for that event type.

Pattern^whe_[0-9A-Za-z]{20}$

Response body

OK.

application/json
  1. response

An event sent again: how many webhooks it went to. Each delivery is a separate attempt, now; see it in the webhook's deliveries.

object*string

What kind of object it is («invoice», «customer»…).

event*string

The event (evt_…) sent again.

deliveries*integer

How many webhooks it went to. 0 if no enabled one listens to that event type.

Range-9007199254740991 <= value <= 9007199254740991

Errors

  • That webhook endpoint is disabled, so an event can't be resent to it. Enable it with disabled: false and resend.

  • This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).

  • There's no object with that id (or it belongs to another issuer or the other mode).

Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.

curl -X POST 'https://api.fiscalisto.com/v1/events/evt_0PKhIdhYuAGwzmMQYfkc/resend' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "endpoint": "whe_8Kq2ZtR4mNw1Lp0sXc7V"}'
{  "object": "event_resend",  "event": "evt_0PKhIdhYuAGwzmMQYfkc",  "deliveries": 1}

Was this page helpful?