# Authtext > Authtext is a one-time-code SMS verification API for Australia, with an MCP server for AI coding agents. Tagline: Verify in one call. Or one prompt. ## Facts - Base URL: https://api.authtext.com.au/v1 - Auth: `Authorization: Bearer `. Keys start with `at_test_`, `at_live_` or `at_agent_`. - Two calls: `POST /v1/verifications` to send a code, `POST /v1/verifications/{id}/check` to check it. - Channel: sms. - Codes: 6 digits, valid for 10 minutes, 5 attempts. - Test mode (`at_test_` keys, and `at_agent_` keys by default): nothing is sent, nothing is billed, the code is always 000000. - Magic test numbers: +61400000001 delivered, +61400000002 delivery fails, +61400000003 rate limited, +61400000004 code expires immediately. - Live limits: 5 sends an hour per destination, one every 30 seconds per destination, 60 a minute per account. - Countries: Australian mobile numbers by default. Others are enabled per account. - Price: 10c (AUD) for every SMS sent with a live key, including re-sends and codes never entered. Checking a code is free. Test mode is free. - Billing: prepaid. The first payment is at least $50; later top-ups are at least $10, by hand or automatically when the balance falls under $10. With no credit left a live send returns `402 insufficient_balance` and nothing is sent. - Errors: JSON with `type`, `message`, `fix`, `docs_url` and `request_id`. `type` is stable; `fix` says what to do next. - Accounts: opened on request. An account owner signs in at https://app.authtext.com.au and creates keys there. ## MCP server - Address: https://mcp.authtext.com.au/mcp (Streamable HTTP). Send `Authorization: Bearer ` with an `at_agent_` or `at_test_` key. - Tools: `send_verification`, `check_verification`, `get_verification`, `list_verifications`, `get_usage`, `search_docs`. - It refuses `at_live_` keys. An agent key sends real messages only if the account owner granted it the live scope with a daily cap. ## Docs - [Quickstart](https://authtext.com.au/docs/quickstart.md): Send a code and check it: two calls, with a test key that sends nothing and costs nothing. - [Test mode](https://authtext.com.au/docs/test-mode.md): Test keys and magic numbers: every outcome, with nothing sent and nothing billed. - [Keys and agent keys](https://authtext.com.au/docs/agent-keys.md): The three kinds of key, and how an agent key is kept from sending real messages or spending money. - [MCP server](https://authtext.com.au/docs/mcp.md): Connect a coding agent to Authtext: the server address, the key header, and the tools. - [Limits](https://authtext.com.au/docs/limits.md): Rate limits on live sends, code expiry and attempts, and which countries can be sent to. - [Pricing](https://authtext.com.au/docs/pricing.md): What Authtext costs: the price per SMS, prepaid credit and top-ups. - [Errors](https://authtext.com.au/docs/errors.md): Every error type, its HTTP status and what to do about it. - [Everything in one file](https://authtext.com.au/llms-full.txt) ## API - [OpenAPI 3.1 spec](https://api.authtext.com.au/openapi.json): the contract, generated from the API's code. ## Not available yet - Self-serve sign-up, the CLI and SDKs. Call the API over HTTPS from any language. --- Source: https://authtext.com.au/docs/quickstart.md # Quickstart Two calls: send a verification, then check the code the user typed. With a test key nothing is sent, nothing is billed and the code is always `000000`. ## 1. Send a code ```bash curl https://api.authtext.com.au/v1/verifications \ -H "Authorization: Bearer $AUTHTEXT_KEY" \ -H "Content-Type: application/json" \ -d '{"to": "+61400000001", "channel": "sms"}' ``` ```json { "id": "ver_01JD3X9K2M7Q8R5T6V1W0XYZAB", "status": "pending", "channel": "sms", "to": "+61*****0001", "expires_at": "2026-11-20T00:10:00.000Z", "attempts_remaining": 5 } ``` Keep the `id`. The response never holds the code or the full number. ## 2. Check the code ```bash curl https://api.authtext.com.au/v1/verifications/ver_01JD3X9K2M7Q8R5T6V1W0XYZAB/check \ -H "Authorization: Bearer $AUTHTEXT_KEY" \ -H "Content-Type: application/json" \ -d '{"code": "000000"}' ``` ```json { "id": "ver_01JD3X9K2M7Q8R5T6V1W0XYZAB", "status": "approved", "attempts_remaining": 0 } ``` `approved` means the user is verified. A wrong code is not an HTTP error: it returns 200 with status `denied` and the attempts left. ## Rules to build on - Call the API from your server. Never put a key in a browser or a mobile app. - Codes have 6 digits, last 10 minutes and allow 5 attempts. Then start a new verification. - Numbers are in E.164 format: `+61412345678`. Australian mobiles by default. - Send an `Idempotency-Key` header on the send call if you retry on network errors, so a retry cannot send a second SMS. - Every error has a stable `type` and a `fix`. See [errors](errors.md). - Going live is a key change only: swap the `at_test_` key for an `at_live_` key. See [pricing](pricing.md). The full contract is the [OpenAPI spec](https://api.authtext.com.au/openapi.json). --- Source: https://authtext.com.au/docs/test-mode.md # Test mode With an `at_test_` key, or an `at_agent_` key that has not been granted live sending, nothing is sent, nothing is billed and the code is always `000000`. Test mode is free and has no rate limits. ```bash curl https://api.authtext.com.au/v1/verifications \ -H "Authorization: Bearer $AUTHTEXT_KEY" \ -H "Content-Type: application/json" \ -d '{"to": "+61400000002", "channel": "sms"}' ``` ## Magic numbers Send to these with a test key to see each outcome. Any other valid number behaves like the first. | Number | What happens | |---|---| | `+61400000001` | The verification is created; check it with `000000` | | `+61400000002` | Created, and its delivery is marked `failed` | | `+61400000003` | Refused with `429 rate_limited` and `retry_after` of 42 | | `+61400000004` | Created already expired, so a check returns `expired` | ## What is the same as live Request and response shapes, ids, statuses, errors, webhooks and the list, timeline and usage endpoints. A key sees only verifications made in its own mode. ## What is different The `delivery` field is `simulated`, the code is fixed, live limits and credit checks do not apply, and usage shows 0 billable units. To insist on a real message, send `"live": true`. A key in test mode then answers [live_scope_required](errors/live_scope_required.md) instead of quietly simulating. --- Source: https://authtext.com.au/docs/agent-keys.md # Keys and agent keys An agent key (`at_agent_...`) is a key made for an AI agent. It is in test mode by default: it sends nothing, bills nothing, and the code is always `000000`. | Kind | Prefix | Sends real SMS | Billed | |---|---|---|---| | Test | `at_test_` | Never | Never | | Live | `at_live_` | Yes | 10c an SMS | | Agent | `at_agent_` | Only if the owner granted it | Only for real SMS, up to its daily cap | ## Getting a key The account owner creates test keys and agent keys, and revokes any key, in the [dashboard](https://app.authtext.com.au) under API keys. Live keys are issued by Authtext on request for now. A key is shown once. An API key cannot create another key. ## Letting an agent send real messages A human decides this, never the agent. The account owner turns live sending on for the agent key in the dashboard under API keys, and sets a daily cap: the most live sends that key may make in one UTC day (up to 1000). The owner can change the cap or turn it off again at any time, and the key goes back to test mode at once. Until then a request with `"live": true` is refused with [live_scope_required](errors/live_scope_required.md), and past the cap with [daily_cap_reached](errors/daily_cap_reached.md). ## Scopes - `verify:write`: send, check, re-send and cancel verifications. - `verify:read`: read verifications, lists and usage. - `verify:live`: agent keys only. Real messages, with a daily cap. ## Naming the caller Send the optional `Authtext-Client` header (for example `claude-code/2.1`) to name the tool making the call. It is stored against each verification. The [MCP server](mcp.md) does this for you. --- Source: https://authtext.com.au/docs/mcp.md # MCP server The Authtext MCP server is at `https://mcp.authtext.com.au/mcp` (Streamable HTTP). Sign in with an agent key or a test key in the `Authorization` header. ## Claude Code ```bash claude mcp add --transport http authtext https://mcp.authtext.com.au/mcp \ --header "Authorization: Bearer at_agent_..." ``` ## Cursor, VS Code and other clients ```json { "mcpServers": { "authtext": { "url": "https://mcp.authtext.com.au/mcp", "headers": { "Authorization": "Bearer at_agent_..." } } } } ``` Keep the key out of files you commit: most clients can read it from an environment variable. ## Tools | Tool | What it does | |---|---| | `send_verification` | Start a verification: send a one-time code to a mobile number. | | `check_verification` | Check the code the user typed. | | `get_verification` | Status, delivery state and timeline of one verification. Use it to find out why one failed. | | `list_verifications` | Recent verifications, newest first, with filters. | | `get_usage` | Counts by channel and status, and billable units, for a period. | | `search_docs` | Search these docs and get the matching pages back as markdown. Needs no key. | ## What the server will and will not do - It accepts `at_agent_` and `at_test_` keys. It refuses `at_live_` keys, because a live key has no daily cap. To let an agent send real messages, the account owner turns live sending on for an agent key, with a daily cap: see [agent keys](agent-keys.md). - With a key in test mode every tool works, nothing is sent, nothing is billed and the code is always `000000`. - No tool returns a code, a full phone number or a key. - Every tool call that uses a key is written to the account's audit log with the key, the tool and the name of the client that made it. - It cannot create keys, change billing or change account settings. Those are for the account owner in the dashboard. - `search_docs` works without a key. The server is a thin layer over the public API and follows the same rules. Anything it does can also be done with the [API](quickstart.md). --- Source: https://authtext.com.au/docs/limits.md # Limits Live sends are limited to 5 an hour per destination, one every 30 seconds per destination, and 60 a minute per account. Past a limit the answer is `429 rate_limited` with `retry_after` in seconds. Test mode is not limited: send to `+61400000003` with a test key to see the error. | Limit | Value | Error | |---|---|---| | Sends to one destination, across all accounts | 5 an hour | [rate_limited](errors/rate_limited.md) | | Gap between sends to one destination | 30 seconds | [rate_limited](errors/rate_limited.md) | | Sends by one account | 60 a minute | [rate_limited](errors/rate_limited.md) | | Live sends by one agent key | Its daily cap | [daily_cap_reached](errors/daily_cap_reached.md) | | Destination country | Australia, others enabled per account | [destination_not_allowed](errors/destination_not_allowed.md) | ## Codes - 6 digits. - Valid for 10 minutes. - 5 attempts. After that the status is `max_attempts` and a new verification is needed. ## Lists and usage - List endpoints return 20 items by default and at most 100. - Usage covers the last 30 days by default and at most 366 days in one request. - An `Idempotency-Key` is remembered for 24 hours. --- Source: https://authtext.com.au/docs/pricing.md # Pricing 10c (AUD) for every SMS sent with a live key, including re-sends and codes never entered. Checking a code is free. Test mode is free. | Thing | Price | |---|---| | One SMS sent with a live key | 10c | | A re-send | 10c, it is another SMS | | Checking a code, reading a verification, lists and usage | Free | | Anything with a test key | Free | ## Prepaid credit - Credit is bought up front by the account owner, by card, in the dashboard under Billing. - The first payment is at least $50, which is 500 SMS. Later top-ups are at least $10. - Automatic top-up charges the saved card when the balance falls under $10, at most 3 times in 24 hours. - With no credit left a live send returns [insufficient_balance](errors/insufficient_balance.md) and nothing is sent. An API key cannot buy credit or change billing. Only the account owner can, signed in to the [dashboard](https://app.authtext.com.au). --- Source: https://authtext.com.au/docs/errors.md # Errors Every error is JSON with a stable `type`, a `message`, a `fix` saying what to do next, a `docs_url` and a `request_id`. Branch on `type`; show or act on `fix`. ```json { "error": { "type": "rate_limited", "message": "Too many verifications for this destination. Try again in 42 seconds.", "fix": "Wait for the number of seconds in retry_after before sending again.", "docs_url": "https://authtext.com.au/docs/errors/rate_limited.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA", "retry_after": 42 } } ``` To see one in test mode, send to `+61400000003` with a test key. | Type | Status | Fix | |---|---|---| | [invalid_request](errors/invalid_request.md) | 400 | Correct the field named in the message and send the request again. | | [invalid_api_key](errors/invalid_api_key.md) | 401 | Send a valid key in the Authorization header as 'Bearer at_test_...' or 'Bearer at_live_...'. | | [insufficient_balance](errors/insufficient_balance.md) | 402 | Ask the account owner to top up in the dashboard under Billing, or use an at_test_ key, which is free and sends nothing. | | [insufficient_scope](errors/insufficient_scope.md) | 403 | Use a key that has the scope named in the message, or ask the account owner to create one. | | [destination_not_allowed](errors/destination_not_allowed.md) | 403 | Send to an Australian mobile number, or ask the account owner to enable the destination country. | | [account_suspended](errors/account_suspended.md) | 403 | Ask the account owner to resolve the billing or abuse hold in the dashboard. | | [live_scope_required](errors/live_scope_required.md) | 403 | Ask the account owner to turn live sending on for this agent key, with a daily cap, in the dashboard under API keys, or remove 'live' from the request to keep working in test mode. | | [not_found](errors/not_found.md) | 404 | Check the path and use the id returned by POST /v1/verifications with the same account's key. | | [already_completed](errors/already_completed.md) | 409 | Treat the user as verified if a check already returned approved; otherwise start a new verification. | | [idempotency_conflict](errors/idempotency_conflict.md) | 409 | Use a new Idempotency-Key for a new request, or retry the identical request in a few seconds. | | [rate_limited](errors/rate_limited.md) | 429 | Wait for the number of seconds in retry_after before sending again. | | [daily_cap_reached](errors/daily_cap_reached.md) | 429 | Wait until the cap resets at midnight UTC, or ask the account owner to raise the cap. | | [internal_error](errors/internal_error.md) | 500 | Retry in a few seconds, and quote the request_id if you contact support. | | [delivery_unavailable](errors/delivery_unavailable.md) | 503 | Retry in a minute; nothing was sent and nothing was billed. | A wrong code is not an error. The check call returns 200 with status `denied` and the attempts left. --- Source: https://authtext.com.au/docs/errors/invalid_request.md # invalid_request HTTP status 400. The request is missing a field or a field is malformed. ## Fix Correct the field named in the message and send the request again. ## What it looks like ```json { "error": { "type": "invalid_request", "message": "The request is missing a field or a field is malformed.", "fix": "Correct the field named in the message and send the request again.", "docs_url": "https://authtext.com.au/docs/errors/invalid_request.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/invalid_api_key.md # invalid_api_key HTTP status 401. The API key is missing, wrong or revoked. ## Fix Send a valid key in the Authorization header as 'Bearer at_test_...' or 'Bearer at_live_...'. ## More Keys start with `at_test_`, `at_live_` or `at_agent_` followed by 32 letters and digits. A key is shown once, when it is created; if it was lost, the account owner revokes it and creates a new one in the dashboard under API keys. With the MCP server, the key goes in the server's `Authorization` header (see [mcp](../mcp.md)). ## What it looks like ```json { "error": { "type": "invalid_api_key", "message": "The API key is missing, wrong or revoked.", "fix": "Send a valid key in the Authorization header as 'Bearer at_test_...' or 'Bearer at_live_...'.", "docs_url": "https://authtext.com.au/docs/errors/invalid_api_key.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/insufficient_balance.md # insufficient_balance HTTP status 402. This account has no credit left to send an SMS. ## Fix Ask the account owner to top up in the dashboard under Billing, or use an at_test_ key, which is free and sends nothing. ## More Billing is prepaid. Each SMS sent with a live key takes 10c from the account's balance, and a live send with no credit is refused before anything is sent. Only the account owner can add credit, in the dashboard under Billing. Test keys are never refused for credit. ## What it looks like ```json { "error": { "type": "insufficient_balance", "message": "This account has no credit left to send an SMS.", "fix": "Ask the account owner to top up in the dashboard under Billing, or use an at_test_ key, which is free and sends nothing.", "docs_url": "https://authtext.com.au/docs/errors/insufficient_balance.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/insufficient_scope.md # insufficient_scope HTTP status 403. This API key does not have the scope this endpoint needs. ## Fix Use a key that has the scope named in the message, or ask the account owner to create one. ## What it looks like ```json { "error": { "type": "insufficient_scope", "message": "This API key does not have the scope this endpoint needs.", "fix": "Use a key that has the scope named in the message, or ask the account owner to create one.", "docs_url": "https://authtext.com.au/docs/errors/insufficient_scope.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/destination_not_allowed.md # destination_not_allowed HTTP status 403. This account cannot send to that country. ## Fix Send to an Australian mobile number, or ask the account owner to enable the destination country. ## More Accounts send to Australian mobile numbers (+61 4...) by default. Other countries are enabled per account. ## What it looks like ```json { "error": { "type": "destination_not_allowed", "message": "This account cannot send to that country.", "fix": "Send to an Australian mobile number, or ask the account owner to enable the destination country.", "docs_url": "https://authtext.com.au/docs/errors/destination_not_allowed.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/account_suspended.md # account_suspended HTTP status 403. This account is suspended. ## Fix Ask the account owner to resolve the billing or abuse hold in the dashboard. ## What it looks like ```json { "error": { "type": "account_suspended", "message": "This account is suspended.", "fix": "Ask the account owner to resolve the billing or abuse hold in the dashboard.", "docs_url": "https://authtext.com.au/docs/errors/account_suspended.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/live_scope_required.md # live_scope_required HTTP status 403. This key cannot send real messages. ## Fix Ask the account owner to turn live sending on for this agent key, with a daily cap, in the dashboard under API keys, or remove 'live' from the request to keep working in test mode. ## More An agent key is in test mode unless the account owner granted it the `verify:live` scope and set a daily cap. A test key can never send a real message. This error appears only when the request says `"live": true`; without it the same request succeeds in test mode, sends nothing and costs nothing. ## What it looks like ```json { "error": { "type": "live_scope_required", "message": "This key cannot send real messages.", "fix": "Ask the account owner to turn live sending on for this agent key, with a daily cap, in the dashboard under API keys, or remove 'live' from the request to keep working in test mode.", "docs_url": "https://authtext.com.au/docs/errors/live_scope_required.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/not_found.md # not_found HTTP status 404. Nothing exists at that path or with that id. ## Fix Check the path and use the id returned by POST /v1/verifications with the same account's key. ## More A key sees only its own account and its own mode: a test key cannot see a verification made with a live key, and the other way round. ## What it looks like ```json { "error": { "type": "not_found", "message": "Nothing exists at that path or with that id.", "fix": "Check the path and use the id returned by POST /v1/verifications with the same account's key.", "docs_url": "https://authtext.com.au/docs/errors/not_found.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/already_completed.md # already_completed HTTP status 409. This verification is no longer pending. ## Fix Treat the user as verified if a check already returned approved; otherwise start a new verification. ## More A verification ends once: approved, max_attempts, expired or canceled. Checking, re-sending or canceling it after that returns this error. ## What it looks like ```json { "error": { "type": "already_completed", "message": "This verification is no longer pending.", "fix": "Treat the user as verified if a check already returned approved; otherwise start a new verification.", "docs_url": "https://authtext.com.au/docs/errors/already_completed.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/idempotency_conflict.md # idempotency_conflict HTTP status 409. This Idempotency-Key was already used with a different request, or that request is still running. ## Fix Use a new Idempotency-Key for a new request, or retry the identical request in a few seconds. ## More An `Idempotency-Key` is remembered for 24 hours. The same key with the same request returns the first response and sends nothing; the same key with a different request is refused. ## What it looks like ```json { "error": { "type": "idempotency_conflict", "message": "This Idempotency-Key was already used with a different request, or that request is still running.", "fix": "Use a new Idempotency-Key for a new request, or retry the identical request in a few seconds.", "docs_url": "https://authtext.com.au/docs/errors/idempotency_conflict.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/rate_limited.md # rate_limited HTTP status 429. Too many verifications. Slow down. ## Fix Wait for the number of seconds in retry_after before sending again. ## More Live sends are limited to 5 an hour per destination, one every 30 seconds per destination, and 60 a minute per account. `retry_after` and the `Retry-After` header give the seconds to wait. Test mode is not limited; send to `+61400000003` with a test key to see this error. ## What it looks like ```json { "error": { "type": "rate_limited", "message": "Too many verifications. Slow down.", "fix": "Wait for the number of seconds in retry_after before sending again.", "docs_url": "https://authtext.com.au/docs/errors/rate_limited.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/daily_cap_reached.md # daily_cap_reached HTTP status 429. This agent key has reached its daily spend cap. ## Fix Wait until the cap resets at midnight UTC, or ask the account owner to raise the cap. ## More The cap counts live sends by one agent key in one UTC day. It is set by the account owner when the live scope is granted. ## What it looks like ```json { "error": { "type": "daily_cap_reached", "message": "This agent key has reached its daily spend cap.", "fix": "Wait until the cap resets at midnight UTC, or ask the account owner to raise the cap.", "docs_url": "https://authtext.com.au/docs/errors/daily_cap_reached.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/internal_error.md # internal_error HTTP status 500. Something went wrong on our side. ## Fix Retry in a few seconds, and quote the request_id if you contact support. ## What it looks like ```json { "error": { "type": "internal_error", "message": "Something went wrong on our side.", "fix": "Retry in a few seconds, and quote the request_id if you contact support.", "docs_url": "https://authtext.com.au/docs/errors/internal_error.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md). --- Source: https://authtext.com.au/docs/errors/delivery_unavailable.md # delivery_unavailable HTTP status 503. No message provider is available right now. ## Fix Retry in a minute; nothing was sent and nothing was billed. ## What it looks like ```json { "error": { "type": "delivery_unavailable", "message": "No message provider is available right now.", "fix": "Retry in a minute; nothing was sent and nothing was billed.", "docs_url": "https://authtext.com.au/docs/errors/delivery_unavailable.md", "request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA" } } ``` The `message` and `fix` can be more specific than shown here. `type` never changes, so branch on that. Quote the `request_id` if you ask for help. All errors: [errors](../errors.md).