Exactly once, when no further delivery attempt will be made. Two paths reach here:
Retries exhausted. Every retryable attempt up to max_attempts failed.
Terminal error code returned. A code classified as terminal (for example, invalid_number, bad_destination, no_route) was returned by an attempt. Remaining retries are skipped.
The credit hold is released and no charge is recorded.
Branch on error_code to choose the next step. The codes are mintfax-owned and stable across carrier changes - they will not churn under you.
error_message is human-readable English, suitable for showing in your dashboard. The agent-actionable contract is error_code.
The full attempts[] array is included. Each entry carries its own error_code - useful when you want to see whether the failure was, say, three busy retries vs an immediate invalid_number.
fax.failed and fax.delivered are mutually exclusive. The fax will not silently succeed after this event.
API key as Bearer token. Use an account key (mfx_acct_...) for
/account/* endpoints, and an environment key (mfx_test_... for
sandbox, mfx_live_... for live) for /environment/*, /faxes,
/webhooks, and /events.
Body
application/json
Event delivery to your subscribed webhook endpoint.
Acknowledged. mintfax treats any 2xx response as a successful delivery.
Last modified on July 20, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"mintfax","colors":{"primary":"#16a34a","light":"#4ade80","dark":"#15803d"},"logo":{"light":"https://mintcdn.com/mintfax/zOe7HYdESMHdd_OE/logo/light.svg?fit=max\u0026auto=format\u0026n=zOe7HYdESMHdd_OE\u0026q=85\u0026s=765735134c5677c7b3bd07cb4a59b7a2","dark":"https://mintcdn.com/mintfax/zOe7HYdESMHdd_OE/logo/dark.svg?fit=max\u0026auto=format\u0026n=zOe7HYdESMHdd_OE\u0026q=85\u0026s=74f5aa178eb1e3f0e7bc6000838e6694","href":"https://mintfax.com/"},"favicon":"https://mintcdn.com/mintfax/GiBvlLI3STLcxoyN/favicon.svg?fit=max\u0026auto=format\u0026n=GiBvlLI3STLcxoyN\u0026q=85\u0026s=d469838ec65481af2598399f79262581","api":{"openapi":"openapi.json","mdx":{"auth":{"method":"bearer"},"server":"https://api.mintfax.com/v1"}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://mintfax.com/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://mintfax.com/register"}},"seo":{"metatags":{"canonical":"https://mintfax.com/docs"}},"fonts":{"heading":{"family":"Red Hat Display","weight":900}},"contextual":{"options":["copy","view"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mintfax","hasAudioNarration":false,"actualSubdomain":"mintfax","customDomains":["mintfax.com"],"gitSource":{"type":"github","owner":"mintfax","repo":"mintfax-content","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec645afc016830a858293d","collectionId":"08729f9d-2219-40df-8d35-ad7b5333d2f7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec645afc016830a858293d"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aec645afc016830a858293d","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":31},{"language":"default","tag":"Webhooks","count":20},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Docs","count":13},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Account","count":8},{"language":"default","tag":"Resources","count":7},{"language":"default","tag":"Event types","count":7},{"language":"default","tag":"Fax","count":6},{"language":"default","tag":"Migration","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"webhooks/events/fax-failed","slug":"/webhooks/events/fax-failed","pageMetadata":{"title":"fax.failed","description":"Sent when a fax has failed terminally.","openapi":"openapi.json webhook fax.failed","href":"/webhooks/events/fax-failed"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sent when a fax has failed terminally.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`when-it-fires`,children:`When it fires`}),`\n`,_jsx(_components.p,{children:`Exactly once, when no further delivery attempt will be made. Two paths reach here:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retries exhausted.`}),` Every retryable attempt up to `,_jsx(_components.code,{children:`max_attempts`}),` failed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Terminal error code returned.`}),` A code classified as terminal (for example, `,_jsx(_components.code,{children:`invalid_number`}),`, `,_jsx(_components.code,{children:`bad_destination`}),`, `,_jsx(_components.code,{children:`no_route`}),`) was returned by an attempt. Remaining retries are skipped.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The credit hold is released and no charge is recorded.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-your-handler-should-do`,children:`What your handler should do`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Branch on `,_jsx(_components.code,{children:`error_code`}),` to choose the next step. The codes are mintfax-owned and stable across carrier changes - they will not churn under you.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`error_message`}),` is human-readable English, suitable for showing in your dashboard. The agent-actionable contract is `,_jsx(_components.code,{children:`error_code`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The full `,_jsx(_components.code,{children:`attempts[]`}),` array is included. Each entry carries its own `,_jsx(_components.code,{children:`error_code`}),` - useful when you want to see whether the failure was, say, three `,_jsx(_components.code,{children:`busy`}),` retries vs an immediate `,_jsx(_components.code,{children:`invalid_number`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fax.failed`}),` and `,_jsx(_components.code,{children:`fax.delivered`}),` are mutually exclusive. The fax will not silently succeed after this event.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`acting-on-common-codes`,children:`Acting on common codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`error_code`})}),_jsx(_components.th,{children:`What it means`}),_jsx(_components.th,{children:`Typical action`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`busy`})}),_jsx(_components.td,{children:`Destination busy across every attempt.`}),_jsx(_components.td,{children:`Resubmit later or escalate to a human.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_answer`})}),_jsx(_components.td,{children:`Destination did not answer within the carrier ring timeout.`}),_jsx(_components.td,{children:`Verify the number is monitored.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`line_quality`})}),_jsx(_components.td,{children:`Connection negotiated but transmission failed.`}),_jsx(_components.td,{children:`Resubmit; persistent failures point at the destination.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_number`})}),_jsx(_components.td,{children:`Destination is well-formed but not a fax line.`}),_jsx(_components.td,{children:`Show it to the user; require correction.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bad_destination`})}),_jsx(_components.td,{children:`Destination unreachable in a way retrying cannot help.`}),_jsx(_components.td,{children:`Stop sending; investigate the routing record.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_route`})}),_jsx(_components.td,{children:`mintfax has no carrier route at the time of send.`}),_jsx(_components.td,{children:`Retry later. The hold is already released.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timeout`})}),_jsx(_components.td,{children:`Per-attempt timeout exceeded across attempts.`}),_jsx(_components.td,{children:`Resubmit; investigate carrier-side outages if persistent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`internal_error`})}),_jsx(_components.td,{children:`mintfax-internal failure. Ops are alerted.`}),_jsx(_components.td,{children:`Resubmit. If persistent, contact support.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/errors`,children:`Errors`}),` for the full code list including codes that return as 422 at submission time rather than as `,_jsx(_components.code,{children:`fax.failed`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"fax.failed","description":"Sent when a fax has failed terminally.","openapi":"openapi.json webhook fax.failed","href":"/webhooks/events/fax-failed"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When it fires","slug":"when-it-fires","depth":2,"children":[]},{"title":"What your handler should do","slug":"what-your-handler-should-do","depth":2,"children":[]},{"title":"Acting on common codes","slug":"acting-on-common-codes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/mintfax/b2ee2cec7900d37c/openpanel.js"],"openApiReferenceData":{"operation":{"summary":"Sent when a fax has failed terminally.","description":"Sent when a fax has failed terminally.","tags":["Webhooks"],"requestBody":"6c4f67b8-f387-452d-ad97-c92bb5fe6ccd","responses":{"2XX":"463872c3-0bcb-49ed-a6ea-1714727ab113"},"method":"post","type":"webhook","servers":["ab1cf113-af3d-4bc9-87ee-4d384d780727"],"security":["e9f63b88-aadd-44b6-b8d4-417ed03ae72d"],"path":"fax.failed","baseUrlOptions":["https://api.mintfax.com/v1"],"title":"Sent when a fax has failed terminally.","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"id\": \"evt_8aZqRm4yT3vK7pNxJ2bH9c\",\n \"type\": \"fax.failed\",\n \"created\": 123,\n \"data\": {\n \"object\": {\n \"id\": \"fax_8aZqRm4yT3vK7pNxJ2bH9c\",\n \"status\": \"queued\",\n \"to\": \"+12125551234\",\n \"pages\": 123,\n \"error_code\": \"\u003cstring>\",\n \"error_subcode\": \"\u003cstring>\",\n \"error_message\": \"\u003cstring>\",\n \"max_attempts\": 3,\n \"attempts\": [\n {\n \"attempt_number\": 2,\n \"started_at\": \"2023-11-07T05:31:56Z\",\n \"completed_at\": \"2023-11-07T05:31:56Z\",\n \"duration_ms\": 123,\n \"error_code\": \"\u003cstring>\",\n \"error_subcode\": \"\u003cstring>\",\n \"error_message\": \"\u003cstring>\"\n }\n ],\n \"webhook_url\": \"\u003cstring>\",\n \"idempotency_key\": \"\u003cstring>\",\n \"tags\": {},\n \"csid\": \"\u003cstring>\",\n \"submitted_at\": \"2023-11-07T05:31:56Z\",\n \"completed_at\": \"2023-11-07T05:31:56Z\",\n \"created_at\": \"2023-11-07T05:31:56Z\",\n \"updated_at\": \"2023-11-07T05:31:56Z\"\n }\n }\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Event delivery to your subscribed webhook endpoint.","required":true,"content":{"application/json":{"schema":{"type":"object","description":"Webhook delivery for `fax.failed`.","properties":{"id":{"type":"string","description":"Event identifier (evt_-prefixed). Stable across retry attempts.","example":"evt_8aZqRm4yT3vK7pNxJ2bH9c","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["fax.failed"],"description":"Event type. Always `fax.failed` for this delivery.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","description":"Unix epoch seconds when the event was generated.","isRequired":true,"uniqueKey":"created","typeLabel":"integer"},"data":{"type":"object","properties":{"object":{"type":"object","description":"Fax resource as carried in fax.* webhook payloads. Mirrors the shape returned by GET /faxes/{id} plus per-attempt detail.","properties":{"id":{"type":"string","description":"Unique fax identifier (fax_-prefixed).","examples":["fax_8aZqRm4yT3vK7pNxJ2bH9c"],"isRequired":true,"uniqueKey":"data.object.id","typeLabel":"string"},"status":{"type":"string","enum":["queued","submitted","in_progress","delivered","failed"],"title":"FaxStatus","description":"Current fax status.","examples":["queued"],"isRequired":true,"uniqueKey":"data.object.status","typeLabel":"enum\u003cstring>"},"to":{"oneOf":[{"type":"string","description":"Destination fax number in E.164 format.","examples":["+12125551234"],"isRequired":true,"uniqueKey":"data.object.to.oneOf.0","typeLabel":"string"},{"type":"null","description":"Destination fax number in E.164 format.","examples":["+12125551234"],"isRequired":true,"uniqueKey":"data.object.to.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.to","typeLabel":"string | null"},"pages":{"oneOf":[{"type":"integer","description":"Number of pages, null until processing begins.","isRequired":true,"uniqueKey":"data.object.pages.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of pages, null until processing begins.","isRequired":true,"uniqueKey":"data.object.pages.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.pages","typeLabel":"integer | null"},"error_code":{"oneOf":[{"type":"string","description":"Machine-readable failure code, if any.","isRequired":true,"uniqueKey":"data.object.error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Machine-readable failure code, if any.","isRequired":true,"uniqueKey":"data.object.error_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.error_code","typeLabel":"string | null"},"error_subcode":{"type":"string","description":"Optional finer-grained mintfax-owned subcode, if any.","isRequired":true,"uniqueKey":"data.object.error_subcode","typeLabel":"string"},"error_message":{"oneOf":[{"type":"string","description":"Human-readable failure description, if any.","isRequired":true,"uniqueKey":"data.object.error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable failure description, if any.","isRequired":true,"uniqueKey":"data.object.error_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.error_message","typeLabel":"string | null"},"max_attempts":{"type":"integer","minimum":1,"maximum":5,"description":"Configured retry cap for this fax (1-5).","isRequired":true,"uniqueKey":"data.object.max_attempts","typeLabel":"integer"},"attempts":{"type":"array","description":"Per-attempt delivery detail in chronological order.","items":{"type":"object","description":"Detail of one delivery attempt against the destination.","properties":{"attempt_number":{"type":"integer","minimum":1,"description":"1-based index of the attempt.","isRequired":true,"uniqueKey":"data.object.attempts.items.[INDEX].attempt_number","typeLabel":"integer"},"started_at":{"type":"string","format":"date-time","description":"UTC time the attempt began.","isRequired":true,"uniqueKey":"data.object.attempts.items.[INDEX].started_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","description":"UTC time the attempt finished. Null while in flight.","uniqueKey":"data.object.attempts.items.[INDEX].completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"UTC time the attempt finished. Null while in flight.","uniqueKey":"data.object.attempts.items.[INDEX].completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.object.attempts.items.[INDEX].completed_at","typeLabel":"string\u003cdate-time> | null"},"duration_ms":{"oneOf":[{"type":"integer","description":"Wall-clock duration in milliseconds.","uniqueKey":"data.object.attempts.items.[INDEX].duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Wall-clock duration in milliseconds.","uniqueKey":"data.object.attempts.items.[INDEX].duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.object.attempts.items.[INDEX].duration_ms","typeLabel":"integer | null"},"error_code":{"oneOf":[{"type":"string","description":"Failure code for this attempt. Null on success.","uniqueKey":"data.object.attempts.items.[INDEX].error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Failure code for this attempt. Null on success.","uniqueKey":"data.object.attempts.items.[INDEX].error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.object.attempts.items.[INDEX].error_code","typeLabel":"string | null"},"error_subcode":{"oneOf":[{"type":"string","description":"Optional finer-grained failure code.","uniqueKey":"data.object.attempts.items.[INDEX].error_subcode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional finer-grained failure code.","uniqueKey":"data.object.attempts.items.[INDEX].error_subcode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.object.attempts.items.[INDEX].error_subcode","typeLabel":"string | null"},"error_message":{"oneOf":[{"type":"string","description":"Human-readable failure summary.","uniqueKey":"data.object.attempts.items.[INDEX].error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable failure summary.","uniqueKey":"data.object.attempts.items.[INDEX].error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.object.attempts.items.[INDEX].error_message","typeLabel":"string | null"}},"required":["attempt_number","started_at"],"uniqueKey":"data.object.attempts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.object.attempts","typeLabel":"object[]"},"webhook_url":{"oneOf":[{"type":"string","description":"Per-fax webhook override URL.","isRequired":true,"uniqueKey":"data.object.webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Per-fax webhook override URL.","isRequired":true,"uniqueKey":"data.object.webhook_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.webhook_url","typeLabel":"string | null"},"idempotency_key":{"oneOf":[{"type":"string","description":"Caller-supplied idempotency key.","isRequired":true,"uniqueKey":"data.object.idempotency_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caller-supplied idempotency key.","isRequired":true,"uniqueKey":"data.object.idempotency_key.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.idempotency_key","typeLabel":"string | null"},"tags":{"type":"object","description":"Caller-supplied metadata map. Empty serializes as `{}`.","additionalProperties":{"type":"string","uniqueKey":"data.object.tags.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.object.tags","typeLabel":"object"},"csid":{"oneOf":[{"type":"string","description":"Sender CSID transmitted in the T.30 fax handshake (max 20 chars).","isRequired":true,"uniqueKey":"data.object.csid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sender CSID transmitted in the T.30 fax handshake (max 20 chars).","isRequired":true,"uniqueKey":"data.object.csid.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.csid","typeLabel":"string | null"},"page_size":{"oneOf":[{"type":"string","title":"PageSize","description":"Target page size for content mintfax renders. PDF inputs pass through unchanged.","enum":["letter","legal","a4","b4"],"isRequired":true,"uniqueKey":"data.object.page_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"data.object.page_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.page_size","typeLabel":"enum\u003cstring> | null"},"resolution":{"oneOf":[{"type":"string","title":"FaxResolution","description":"T.30 transmission resolution.","enum":["standard","fine"],"isRequired":true,"uniqueKey":"data.object.resolution.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"data.object.resolution.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.resolution","typeLabel":"enum\u003cstring> | null"},"optimize_for":{"oneOf":[{"type":"string","title":"FaxOptimization","description":"Rasterizer optimization hint for non-PDF inputs.","enum":["text","photo"],"isRequired":true,"uniqueKey":"data.object.optimize_for.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"data.object.optimize_for.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.optimize_for","typeLabel":"enum\u003cstring> | null"},"submitted_at":{"oneOf":[{"type":"string","format":"date-time","description":"UTC timestamp when the fax was submitted to a carrier. Null until submission.","isRequired":true,"uniqueKey":"data.object.submitted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"UTC timestamp when the fax was submitted to a carrier. Null until submission.","isRequired":true,"uniqueKey":"data.object.submitted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.submitted_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","description":"UTC timestamp when the fax reached a terminal status. Null until completion.","isRequired":true,"uniqueKey":"data.object.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"UTC timestamp when the fax reached a terminal status. Null until completion.","isRequired":true,"uniqueKey":"data.object.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.object.completed_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","description":"UTC timestamp when the fax record was created.","isRequired":true,"uniqueKey":"data.object.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"UTC timestamp when the fax record was last updated.","isRequired":true,"uniqueKey":"data.object.updated_at","typeLabel":"string\u003cdate-time>"}},"required":["id","status","to","pages","error_code","error_subcode","error_message","max_attempts","attempts","webhook_url","idempotency_key","tags","csid","page_size","resolution","optimize_for","submitted_at","completed_at","created_at","updated_at"],"isRequired":true,"uniqueKey":"data.object","typeLabel":"object"}},"required":["object"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["id","type","created","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"evt_8aZqRm4yT3vK7pNxJ2bH9c","type":"fax.failed","created":123,"data":{"object":{"id":"fax_8aZqRm4yT3vK7pNxJ2bH9c","status":"queued","to":"+12125551234","pages":123,"error_code":"\u003cstring>","error_subcode":"\u003cstring>","error_message":"\u003cstring>","max_attempts":3,"attempts":[{"attempt_number":2,"started_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","duration_ms":123,"error_code":"\u003cstring>","error_subcode":"\u003cstring>","error_message":"\u003cstring>"}],"webhook_url":"\u003cstring>","idempotency_key":"\u003cstring>","tags":{},"csid":"\u003cstring>","submitted_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"463872c3-0bcb-49ed-a6ea-1714727ab113":{"description":"Acknowledged. mintfax treats any 2xx response as a successful delivery.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"e9f63b88-aadd-44b6-b8d4-417ed03ae72d":{"bearerAuth":{"type":"http","description":"API key as Bearer token. Use an account key (`mfx_acct_...`) for\n`/account/*` endpoints, and an environment key (`mfx_test_...` for\nsandbox, `mfx_live_...` for live) for `/environment/*`, `/faxes`,\n`/webhooks`, and `/events`.","scheme":"bearer","scopes":[]}}},"servers":{"ab1cf113-af3d-4bc9-87ee-4d384d780727":{"url":"https://api.mintfax.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"API key as Bearer token. Use an account key (`mfx_acct_...`) for\n`/account/*` endpoints, and an environment key (`mfx_test_...` for\nsandbox, `mfx_live_...` for live) for `/environment/*`, `/faxes`,\n`/webhooks`, and `/events`.","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key as Bearer token. Use an account key (`mfx_acct_...`) for\n`/account/*` endpoints, and an environment key (`mfx_test_...` for\nsandbox, `mfx_live_...` for live) for `/environment/*`, `/faxes`,\n`/webhooks`, and `/events`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"mintfax","siteName":"mintfax","title":"fax.failed - mintfax","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-20T06:23:39.919Z","gitLastModified":"2026-07-20T06:23:19.000Z","originalFileLocation":"webhooks/events/fax-failed.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sent when a fax has failed terminally.\">\u003cmeta data-mint-head name=\"application-name\" content=\"mintfax\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"fax.failed - mintfax\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sent when a fax has failed terminally.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"mintfax\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mintfax.com/docs/webhooks/events/fax-failed\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mintfax.mintlify.site/docs/_mintlify/api/og/v2?division=Event+types\u0026amp;title=fax.failed\u0026amp;description=Sent+when+a+fax+has+failed+terminally.\u0026amp;theme=42e0c0e4e8bc2238519d7f78\u0026amp;signature=3d85a09aa328a3e6390a3a2b9749aa9bca33e9433cd745a908fae123205553a8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"fax.failed - mintfax\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sent when a fax has failed terminally.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mintfax.mintlify.site/docs/_mintlify/api/og/v2?division=Event+types\u0026amp;title=fax.failed\u0026amp;description=Sent+when+a+fax+has+failed+terminally.\u0026amp;theme=42e0c0e4e8bc2238519d7f78\u0026amp;signature=3d85a09aa328a3e6390a3a2b9749aa9bca33e9433cd745a908fae123205553a8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/mintfax/Wa2Q_xBkYrNNeJhI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"mintfax\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16a34a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mintfax.com/docs/webhooks/events/fax-failed\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/webhooks/events/fax-failed.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mintfax.com/#organization\",\"name\":\"mintfax\",\"url\":\"https://mintfax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mintfax/zOe7HYdESMHdd_OE/logo/light.svg?fit=max\u0026auto=format\u0026n=zOe7HYdESMHdd_OE\u0026q=85\u0026s=765735134c5677c7b3bd07cb4a59b7a2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mintfax.com/docs#website\",\"name\":\"mintfax\",\"url\":\"https://mintfax.com/docs\",\"publisher\":{\"@id\":\"https://mintfax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mintfax.com/docs/webhooks/events/fax-failed#webpage\",\"url\":\"https://mintfax.com/docs/webhooks/events/fax-failed\",\"name\":\"fax.failed\",\"description\":\"Sent when a fax has failed terminally.\",\"dateModified\":\"2026-07-20T06:23:19.000Z\",\"isPartOf\":{\"@id\":\"https://mintfax.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://mintfax.com/docs/webhooks/events/fax-failed#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mintfax.com/docs/webhooks/events/fax-failed#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Event types\",\"item\":\"https://mintfax.com/docs/webhooks/events/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"fax.failed\",\"item\":\"https://mintfax.com/docs/webhooks/events/fax-failed\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://mintfax.com/docs/webhooks/events/fax-failed#apireference\",\"headline\":\"fax.failed\",\"name\":\"fax.failed\",\"description\":\"Sent when a fax has failed terminally.\",\"url\":\"https://mintfax.com/docs/webhooks/events/fax-failed\",\"mainEntityOfPage\":{\"@id\":\"https://mintfax.com/docs/webhooks/events/fax-failed#webpage\"},\"dateModified\":\"2026-07-20T06:23:19.000Z\",\"publisher\":{\"@id\":\"https://mintfax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://mintfax.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"mintfax\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"mintfax","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":""}]},{"tab":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/fax-api"}]},{"tab":"Resources","icon":"folder-open","pages":[{"title":"Resources","href":"/faq"}]},{"tab":"Webhooks","icon":"webhook","groups":[{"group":"Get Started","pages":[{"title":"Receive fax events with webhooks","href":"/webhooks"},{"title":"Verify webhook signatures","href":"/webhooks/verify-requests"},{"title":"Webhook delivery and retries","href":"/webhooks/delivery-and-retries"},{"title":"Debug webhook deliveries","href":"/webhooks/inspect-attempts"},{"title":"Update or remove a webhook endpoint","href":"/webhooks/manage"}]},{"group":"Event types","pages":[{"title":"Event types","href":"/webhooks/events/overview"},{"title":"fax.queued","openapi":"openapi.json webhook fax.queued","href":"/webhooks/events/fax-queued"},{"title":"fax.sending","openapi":"openapi.json webhook fax.sending","href":"/webhooks/events/fax-sending"},{"title":"fax.delivered","description":"Sent when a fax has been successfully delivered.","openapi":"openapi.json webhook fax.delivered","href":"/webhooks/events/fax-delivered"},{"title":"fax.failed","openapi":"openapi.json webhook fax.failed","href":"/webhooks/events/fax-failed"},{"title":"balance.low","description":"Sent when an environment's available balance crosses below the low-balance threshold.","openapi":"openapi.json webhook balance.low","href":"/webhooks/events/balance-low"},{"title":"balance.topup","openapi":"openapi.json webhook balance.topup","href":"/webhooks/events/balance-topup"}]}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/overview"}]}]},"basePath":"","title":"fax.failed - mintfax","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}