FISCALISTO / API / REFERENCE
Rotate the secret · Webhooks
A new secret, which the response carries only once. The previous one keeps signing (a second signature in webhook-signature) for the time you choose, 24 hours by default, so you change your server without rejecting events. If it leaked, send previous_secret_expires_in: 0.
A key for the whole account: not limited to some issuers or to a test environment.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
Idempotency-Key?stringOptional (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).
1 <= length <= 255application/json- body
previous_secret_expires_in?integerSeconds the previous secret keeps signing, from 0 (it stops signing now: use it if it leaked) to 86400. 86400 by default (24 hours).
0 <= value <= 86400OK.
application/json- response
An address on your server that receives events.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
sandbox*|The sandbox (sbx_…) it belongs to, or null if it belongs to the account. See /v1/sandboxes.
url*stringhttps address on your server that receives the notices.
description*|What it is for, for you.
events*array<string>Events you want to receive, or ["*"] for all (the default). The list with when each one arrives: Event types.
status*stringenabled: delivering. failing: its deliveries fail (it turns off after 5 days like that). disabled: off.
"enabled""failing""disabled"disabled_reason?|Why it turned off: failing (its deliveries failed 5 days in a row), gone (your server answered 410 Gone) or manual (you turned it off).
failing_since?|Since when deliveries have been failing, or null.
previous_secret_expires_at*|Until when the previous secret also signs (after rotating it), or null.
api_version*|The API version of its events; null: the account's.
created_at*|When it was created, ISO 8601 with Mexico City time (-06:00).
secret?stringSigning secret (whsec_…). It only comes when it is created or rotated: save it to verify signatures.
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/webhook_endpoints/whe_0q1Vmmw52sbDpmtsKD1E/roll_secret' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "previous_secret_expires_in": 3600}'{ "id": "whe_0q1Vmmw52sbDpmtsKD1E", "object": "webhook_endpoint", "livemode": false, "sandbox": null, "url": "https://mi-plataforma.mx/webhooks/fiscalisto", "description": null, "events": [ "invoice.stamped" ], "status": "enabled", "disabled_reason": null, "failing_since": null, "previous_secret_expires_at": null, "api_version": null, "created_at": "2026-10-24T10:15:42-06:00", "secret": "whsec_MfKQ9r7Cq1ZzR0nN3xY2bW8eT5uV6sA4"}Was this page helpful?
Delete a webhook DELETE
It stops sending events to that address. The events remain in GET /v1/events.
Send a test event POST
Sends now, only once and without retries, an event of the type you choose with a sample object (its ids don't exist), signed like the real ones, even if the webhook doesn't listen for that type. The response carries what your server answered. The event doesn't show in GET /v1/events, but it does in the webhook's deliveries.