{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/send-fax","method":"POST"},"content_type":"api","cover_url":"","description":"Send a fax to any fax number worldwide. 500 sats for up to 10 pages, +50 sats per additional page.\n\nProvide EITHER a PDF URL OR plain text. JSON body:\n\n  {\n    \"phone_number\": \"+15551234567\",\n    \"mode\": \"pdf\" | \"text\",\n    \"pdf_url\": \"https://example.com/doc.pdf\",      // if mode=pdf\n    \"text\": \"Hello world\",                          // if mode=text\n    \"cover_text\": \"Please find attached...\",       // optional, mode=pdf only (+1 page)\n    \"pages\": 3                                      // required: expected page count for pricing\n  }\n\nPricing examples: 1-10 pages = 500 sats. 15 pages = 750 sats. 50 pages = 2500 sats.\n\nLimits: max 350 pages, max 50MB (Telnyx limits).\n\nActual page count is verified after PDF download; if it exceeds the declared 'pages' value, a refund of the overpayment OR an error with refund is returned. Declare a generous 'pages' count to avoid underpayment rejections.\n\nFor interactive use (browsers, multiple images), use the web UI at https://sats4ai.com/fax instead.","name":"Fax (Outbound)","pricing":{"type":"tiered","base_sats":500,"base_pages":10,"per_page_after":50,"currency":"sats","unit":"fax","note":"Flat 500 sats for up to 10 pages, +50 sats per additional page"},"limits":{"max_pages":350,"max_size_mb":50}}