Skip to main content
POST
Use this endpoint to send SMS through the active QuickSend SMS integration in the selected project environment. It supports a single recipient, a bulk list with one message, and a small bulk list with different messages.
This is a real external action. A successful response confirms that QuickSend accepted the request; it is not final delivery proof. While testing, send messages only to phone numbers you own or are allowed to use. Do not automatically retry after a timeout or uncertain provider outcome, because that can send duplicate messages. In the Documentation Playground, turn on X-Confirm-Send only after reviewing every recipient and message.
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

Use a Managed QuickSend integration for single only. bulk_same and bulk_different require a Manual (BYOK) QuickSend integration. check_cost is forwarded only for bulk_same; setting it for bulk_different does not turn that request into a cost estimate and the messages are still sent.

SMS units and character limits

AvraAPI calculates message_count from SMS units, not simply from the number of API requests. For predictable message sizing and billing, use 153 GSM-7 characters per SMS unit or 67 Unicode (UCS-2) characters per SMS unit. Each individual recipient message is limited to a maximum of 3 SMS units. Therefore, a single request can return a maximum message_count of 3; a bulk response reports the total units across all recipients and can be higher. For example, a two-recipient bulk_same campaign with a one-unit message returns message_count: 2. A long or Unicode single message can return a message_count greater than one.

Result fields

Single SMS

Request example

curl

Response example

Bulk SMS with the same message

Request example

curl

Response example

Bulk SMS cost check

Request example

curl

Response example

Bulk SMS with different messages

Request example

curl

Response example

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

X-Confirm-Send
boolean
default:false

Documentation Playground safeguard for real SMS delivery. Turn this on only after reviewing every recipient and message. It is required for documentation-origin SMS send requests and does not make a timed-out send safe to retry.

Example:

true

Body

application/json
send_method
enum<string>
default:single
required

Fixed to single for this form.

Available options:
single
to
string
required

Local Sri Lankan 07XXXXXXXX or E.164 +947XXXXXXXX number. Replace this with the recipient number before sending.

Maximum string length: 20
Example:

"RECIPIENT_NUMBER"

message
string
required

Message text. The released service limits each recipient message to three SMS units.

Maximum string length: 4096
Example:

"Text message"

Response

Provider acceptance result or bulk-same cost estimate.

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