Skip to main content

Documentation Index

Fetch the complete documentation index at: https://help.withallo.com/llms.txt

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

Every error response includes a stable code field. The doc_url in each error links directly to the relevant entry below. Codes are stable contracts — they will not change without an API version bump.

Authentication errors — 401

CodeDescription
API_KEY_INVALIDThe API key provided is invalid or does not exist. Check your API key in Settings > API.
API_KEY_REVOKEDThis API key has been revoked. Create a new API key in Settings > API.
UNAUTHORIZEDAuthentication is required. Provide a valid API key in the Authorization header as Api-Key <your-key>.

Permission errors — 403

CodeDescription
API_KEY_INSUFFICIENT_SCOPEThis API key lacks the required scope. Create a new key with the required scope. See scope-to-endpoint mapping.
API_KEY_TRIAL_NOT_ALLOWEDAPI access is not available on trial plans. Upgrade to a paid plan.
FORBIDDENYou do not have permission to perform this action. Contact your workspace admin.
A2P_NOT_ENABLEDA2P (Application-to-Person) SMS is not enabled for this number. Complete 10DLC registration in the Allo dashboard.

Validation errors — 400

CodeDescription
INVALID_REQUEST_BODYThe request body could not be parsed. Ensure Content-Type is application/json and the body is well-formed JSON.
MISSING_PARAMETERA required query parameter is missing. Add the parameter named in the param field.
MISSING_HEADERA required header is missing. Add the header named in the param field.
UNSUPPORTED_MEDIA_TYPEThe Content-Type is not supported. Use application/json. Returns 415.
INVALID_PAGE_SIZEThe size parameter value is invalid. Provide a numeric value between 1 and 100.
INVALID_SEARCH_QUERYThe search parameter must contain at least one alphanumeric character. Special characters are stripped automatically — provide plain-text keywords (e.g., "john" or "missed call"). Words are combined with AND and prefix-matched.
MISSING_ALLO_NUMBERThe allo_number parameter is required. Add it to your request. List your numbers with GET /v2/api/numbers.
INVALID_DATE_RANGEThe date range is invalid: from must be before to. Use YYYY-MM-DD format.
DATE_RANGE_TOO_WIDEThe date range exceeds the maximum allowed number of days. Narrow your date range.
INVALID_ITEM_IDItem ID has an unrecognized prefix. Use IDs from the conversations API: cll- for calls, msg- for messages.
BATCH_TOO_LARGEBatch size exceeds the maximum of 100. Split your request into batches of 100 or fewer.
TAGS_REQUIREDAt least one tag is required. Provide a non-empty tags array. List available tags with GET /v2/api/tags.
INVALID_ACTIONUnknown action value. Use one of: READ, UNREAD, ARCHIVE, UNARCHIVE.
INVALID_GRANULARITYUnknown granularity value. Use one of: DAY, WEEK, MONTH.
INVALID_GROUP_BYUnknown group_by value. Check the suggestion field for allowed values.
UNSUPPORTED_EXTEND_VALUEUnknown extend value. Currently supported: transcript.
METHOD_NOT_ALLOWEDHTTP method not supported for this endpoint. Check the suggestion field for supported methods. Returns 405.
INVALID_PHONE_FORMATPhone number is not valid E.164 format. Use format: +14155551234 (+ prefix, country code, no spaces or dashes).
INVALID_TO_NUMBERThe destination number is invalid or cannot be reached. Provide a valid E.164 phone number.
TO_NUMBER_COUNTRY_MISMATCHCross-country SMS is not supported for this number. Use a phone number in the same country as the recipient.
NUMBER_NOT_SMS_ENABLEDThis number does not have outbound SMS enabled. Enable SMS in the dashboard, or use a different number from GET /v2/api/numbers.
SENDER_ID_INBOX_CANNOT_SEND_SMSSender ID inboxes cannot send SMS messages. Use a regular phone number instead.
SENDER_ID_NOT_ACTIVEThe sender ID is not active. Activate the sender ID in the Allo dashboard before sending.
MESSAGE_NOT_COMPLIANTMessage content does not comply with messaging compliance rules. Remove disallowed content and retry.
LANDLINE_NUMBER_NOT_SUPPORTEDThe destination number is a landline and cannot receive SMS. Provide a mobile phone number instead.

Not found errors — 404

CodeDescription
CONVERSATION_ITEM_NOT_FOUNDNo call or message found with this ID. Search for the item with POST /v2/api/conversations/items/search.
MEMBER_NOT_FOUNDNo team member found with this ID. List team members with GET /v2/api/users.
TEAM_NOT_FOUNDNo team found for the authenticated user. Check team setup in the Allo dashboard.
USER_NOT_FOUNDThe authenticated user account was not found. Verify the API key is associated with an active account.
BUSINESS_NOT_FOUNDNo business account found for the authenticated user. Ensure the account has completed onboarding.
CALL_NOT_FOUNDNo call found with this ID. Search calls with POST /v2/api/conversations/items/search.
TEXT_MESSAGE_NOT_FOUNDNo text message found with this ID. Search messages with POST /v2/api/conversations/items/search.
PHONE_NUMBER_NOT_FOUNDNo phone number found for your account. List your numbers with GET /v2/api/numbers.
FROM_NUMBER_NOT_FOUNDNo Allo phone number found for your account. List your available numbers with GET /v2/api/numbers.
TAG_NOT_FOUNDThe tag does not exist on this conversation item. It may have already been removed.
SENDER_ID_NOT_FOUNDNo active sender ID found. Check your sender IDs in the Allo dashboard.
ENDPOINT_NOT_FOUNDNo endpoint found at this URL. Check the URL and HTTP method. See the API reference.

Conflict errors — 409

CodeDescription
TAG_ALREADY_EXISTSThis tag is already applied to the conversation item. No action needed.
OTHER_TRANSACTION_IN_PROGRESSAnother operation on this resource is in progress. Wait a moment and retry.
IDEMPOTENCY_KEY_REUSEThis idempotency key was already used for a different endpoint or HTTP method. Use a unique key per distinct request. See Idempotency.

Rate limit errors — 429

CodeDescription
RATE_LIMIT_EXCEEDEDPer-second rate limit exceeded. Always retryable: true. Wait retry_after_seconds before retrying.
TRIAL_SMS_LIMIT_REACHEDTrial account daily SMS limit reached. Upgrade your plan to send more messages.
SMS_LIMIT_REACHEDDaily API SMS limit reached. Wait until tomorrow or contact support to increase your limit.
DAILY_SMS_LIMIT_REACHEDDaily SMS limit reached for this number. Wait until tomorrow to send more messages from this number.

Server errors — 500

CodeDescription
INTERNAL_SERVER_ERRORAn unexpected error occurred. Retry the request. If it persists, contact [email protected] with your request_id.