Event feed
get/v1/
Scopewebhooks:read
The same events that webhooks push, oldest first, for the last 30 days. Keep `nextCursor` and send it as `after` next time; when nothing new happened, the same cursor comes back.
Contract notes (OpenAPI)
Keep `nextCursor` and send it as `after` on the next call; with nothing new the same cursor comes back. Events appear a moment after they commit and stay for 30 days. Test events never appear. Scoped to the caller's environment like every other read.
Parameters
| Field | Description |
|---|---|
afteroptionalIn: queryType: string | Opaque cursor from a previous page. pattern ^[0-9]{1,19}$ |
typesoptionalIn: queryType: string | Comma-separated event types to include. |
limitoptionalIn: queryType: integer | >= 1<= 200default 100 |
Responses
| 200OK | Page of eventsWebhookEventPage |
|---|---|
| 422Unprocessable Content | The command violates a Boka or fiscal ruleErrorCode |
Response: WebhookEventPage
Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.
| Field | Description |
|---|---|
itemsrequiredType: array<WebhookEvent> | |
idrequiredType: uuid | |
typerequiredType: string | A WebhookEventType, or webhook-endpoint.test on a pushed test event. |
timestamprequiredType: date-time | When the change happened, not when it was delivered. |
environmentrequiredType: string | Values |
datarequiredType: WebhookFiscalDocumentData | WebhookReceiptDeliveryData | WebhookSecurityElementData | WebhookLicenseData | WebhookTestData | One of: WebhookFiscalDocumentData | WebhookReceiptDeliveryData | WebhookSecurityElementData | WebhookLicenseData | WebhookTestData |
| WebhookFiscalDocumentData | |
fiscalDocumentIdrequiredType: uuid | |
taxpayerIdrequiredType: uuid | |
businessPremiseIdrequiredType: uuid | |
statusrequiredType: string | Values |
invoiceTyperequiredType: InvoiceType | Values |
transactionTyperequiredType: TransactionType | Values |
clientReferencerequiredType: string | null (nullable) | |
idempotencyKeyrequiredType: string | |
pfrInvoiceNumberrequiredType: string | null (nullable) | |
pfrSdcTimerequiredType: date-time | null (nullable) | |
totalAmountrequiredType: number | null (nullable) | |
verificationUrlrequiredType: uri | null (nullable) | |
failureCoderequiredType: string | null (nullable) | |
| WebhookReceiptDeliveryData | |
receiptDeliveryIdrequiredType: uuid | |
fiscalDocumentIdrequiredType: uuid | |
taxpayerIdrequiredType: uuid | |
businessPremiseIdrequiredType: uuid | |
channelrequiredType: const "EMAIL" | |
statusrequiredType: string | Values |
attemptsrequiredType: integer | >= 1 |
deliveredAtrequiredType: date-time | null (nullable) | |
failureCoderequiredType: string | null (nullable) | |
| WebhookSecurityElementData | |
securityElementIdrequiredType: uuid | |
taxpayerIdrequiredType: uuid | |
businessPremiseIdrequiredType: uuid | |
jidrequiredType: string | |
statusrequiredType: string | Values |
certificateNotAfterrequiredType: date-time | |
expiryStatusoptionalType: string | Only on security-element.expiring. Values |
daysRemainingoptionalType: integer | Whole days until the certificate expires; only on security-element.expiring. >= 0 |
| WebhookLicenseData | |
statusrequiredType: string | Values |
startsOnrequiredType: date | |
endsOnrequiredType: date | null (nullable) | |
advanceModuleEnabledrequiredType: boolean | |
emailModuleEnabledrequiredType: boolean | |
| WebhookTestData | |
webhookEndpointIdrequiredType: uuid | |
nextCursorrequiredType: string | null (nullable) | Send as after next time; null only before the first event. |
hasMorerequiredType: boolean | |