Skip to main content
POST
Check SMS balance
Use this endpoint to read the balance for the active QuickSend SMS integration in the selected project environment. The result depends on how that integration was configured.
Live Testing Guide: Before using Try it, create a Development project, then enter its Client ID and Client Secret. Configure the relevant provider for that project before sending the request.

API endpoint

POST

Request fields

This endpoint accepts an empty JSON object. AvraAPI resolves the configured SMS integration from your Project Client ID and X-ENV. Outside the documentation Playground, keep the Project Client Secret on your backend. This endpoint is read-only and does not deduct AvraAPI credits.

Result fields

For a Managed integration, balance_formatted is the AvraAPI wallet balance in API credits. 1 USD equals 1,000,000 API credits. For a Manual (BYOK) integration, the balance is read from the connected QuickSend account and remains provider-formatted.

Request example

curl

Response example — Manual (BYOK)

Response example — Managed

Error codes

Keep the JSON request_id or X-APIX-Request-ID response header with your support record. It is the safest way for AvraAPI support to trace a request.
See the REST API guide for shared credential, privacy, and error-handling guidance.

Playground resources

The generated reference below lists this endpoint’s API standard details: request fields, authorizations, and response schema. The complete integration guide, request and response examples, and endpoint-specific error handling are above.

Authorizations

X-API-KEY
string
header
required

Your Development project's Client ID. Enter your own value in the Documentation Playground.

X-API-SECRET
string
header
required

Your Development project's Client Secret. Mintlify does not proxy these requests; the browser sends them directly to AvraAPI. Never enter a Production secret in the Documentation Playground.

Headers

X-ENV
enum<string>
default:development

Selects the Development credential environment. The Documentation Playground exposes Development values only; normal backend integrations may use their documented Production credentials outside this tool.

Available options:
dev,
development
Accept
string

Requests a JSON response where the selected operation supports JSON.

Example:

"application/json"

X-Privacy-Mode
boolean
default:false

Optional privacy override. Turn this on to request that AvraAPI suppress request-payload storage in observability logs for this request.

Example:

true

Body

application/json

The body is of type object.

Response

Balance associated with the selected SMS integration.

success
enum<boolean>
required
Available options:
true
request_id
string<uuid>
required

Include this value when contacting AvraAPI support.

data
object
required

Operation-specific result data.

Last modified on October 1, 2026