Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintfax.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Each webhook delivery carries a typed event. The list below is the complete catalog. Pages for each event document the firing rules and the payload shape.

The catalog

EventWhen it fires
fax.queuedFax accepted, hold placed, queued for delivery.
fax.sendingDelivery attempt against the destination has started.
fax.deliveredFax delivered successfully. Hold captured.
fax.failedAll retryable attempts exhausted or a terminal error code was returned.
balance.lowAvailable balance crossed the configured low-balance threshold.
balance.topupFunds added to the environment.

The envelope

Every event carries the same outer shape:
{
  "id": "evt_8aZqRm4yT3vK7pNxJ2bH9c",
  "type": "fax.delivered",
  "created": 1747173600,
  "data": {
    "object": { ... }
  }
}
FieldMeaning
idEvent identifier. Stable across retry attempts of the same event.
typeThe event type, exactly one of the values above.
createdUnix epoch seconds when the event was generated.
data.objectThe resource snapshot at the moment the event fired. Schema varies per type.
data.object for fax.* events is the fax resource (same fields as GET /faxes/{id}) plus per-attempt detail. For balance.* events, it is a balance snapshot.

Branching on the type field

switch (event.type) {
  case "fax.queued":
    // Hold confirmed, fax in line.
    break;
  case "fax.sending":
    // A delivery attempt has begun.
    break;
  case "fax.delivered":
    // Terminal success.
    break;
  case "fax.failed":
    // Terminal failure. event.data.object.error_code is set.
    break;
  case "balance.low":
  case "balance.topup":
    // Account balance change.
    break;
}
The list of event types is the contract. New event types are introduced under new names, never by changing what an existing type carries. Subscribers receive only the types they have subscribed to.

Exactly-once vs may-fire-multiple

EventCardinality per fax / event
fax.queuedExactly once.
fax.sendingOne per delivery attempt against the destination.
fax.deliveredExactly once. Mutually exclusive with fax.failed.
fax.failedExactly once. Mutually exclusive with fax.delivered.
balance.lowMay fire repeatedly if balance oscillates around the threshold.
balance.topupOne per credit addition.
Webhook delivery of any event may retry on the wire if your endpoint did not 2xx the first time. See Delivery and retries and deduplicate on webhook-id.

Next

Last modified on May 14, 2026