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
https://avraapi.com/api/v1/sms/send
Request fields
Field
Required
Rules
send_method
Yes
One of single, bulk_same, or bulk_different.
to
For single
One QuickSend-compatible Sri Lankan number: local 07XXXXXXXX or E.164 +947XXXXXXXX.
message
For single and bulk_same
Message text. Input is capped at 4,096 characters and each recipient message may use at most three SMS units.
recipients
For bulk_same
Array of 1–10,000 QuickSend-compatible Sri Lankan numbers.
check_cost
No; bulk_same only
Boolean. With true, QuickSend returns campaign cost information instead of sending the bulk campaign.
msg_list
For bulk_different
Array of 1–20 objects. Every object needs to and msg.
msg_list[].to
For bulk_different
One QuickSend-compatible Sri Lankan number.
msg_list[].msg
For bulk_different
Message text for that recipient, with the same three-unit maximum.
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
Field
Type
Notes
send_method
string
The accepted AvraAPI send method.
message_count
integer
Total calculated SMS units across the request.
credits_charged
integer
AvraAPI credits charged for this request. Manual (BYOK) sends return 0; QuickSend may charge the connected provider account separately.
provider_response
object
Raw QuickSend acceptance or cost-estimate response. Its fields vary by QuickSend operation.
Credentials are missing, invalid, inactive, or do not match the selected environment.
Check your backend secret configuration and X-ENV.
402
insufficient_funds
A Managed SMS send requires AvraAPI credits that are unavailable.
Top up the AvraAPI wallet or reduce the message units before sending again.
403
forbidden
A Managed integration attempted bulk_same or bulk_different, or a trial destination restriction rejected the recipient.
Use single for Managed SMS, or configure Manual (BYOK) QuickSend for bulk sending. Check any trial recipient restriction before retrying.
428
send_confirmation_required
A Documentation Playground send did not explicitly acknowledge the real delivery action.
Review every recipient and message, then set X-Confirm-Send to true. This does not make an uncertain send safe to retry.
422
validation_failed
The request body does not satisfy the selected send-method fields. The response includes field details.
Correct the body and submit a new request.
422
provider_selection_failed
No active QuickSend SMS integration can be selected for the project environment.
Configure or enable the QuickSend integration for the selected environment.
422
http_error
The active integration is incomplete, the message exceeds three SMS units, or the SMS configuration cannot be used.
Correct the configuration or request; do not repeat an uncertain send.
429
rate_limit_exceeded
The configured request limit was reached.
Respect Retry-After when present; do not retry in a tight loop.
500
internal_error
The request could not complete unexpectedly.
Investigate with the request ID before deciding whether to submit a new send.
502
http_error
QuickSend rejected the request, returned an unexpected response, or its configured credentials failed.
Correct the request or integration. Do not repeat the same send until you know it was not accepted.
503
http_error
QuickSend was temporarily unreachable.
Treat delivery as uncertain; check your provider records before any manual retry.
503
project_paused
The project is paused.
Reactivate the project before retrying.
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
Single SMS
Bulk SMS
Bulk Different
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.
Show child attributes
Last modified on October 1, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"AvraAPI","description":"Official AvraAPI documentation for backend SDKs, microservice APIs, and Universal Payment Gateway integrations.","colors":{"primary":"#0450ff","light":"#3b82f6","dark":"#3b82f6"},"logo":{"light":"https://mintcdn.com/avraapi/m_1aZj30iaDgR5ok/logo/light.png?fit=max\u0026auto=format\u0026n=m_1aZj30iaDgR5ok\u0026q=85\u0026s=1e1ee08fd48f0cd836a53ca3afbcac7c","dark":"https://mintcdn.com/avraapi/m_1aZj30iaDgR5ok/logo/dark.svg?fit=max\u0026auto=format\u0026n=m_1aZj30iaDgR5ok\u0026q=85\u0026s=99972ab69fe3ea2a8c60fa0292dca4de"},"favicon":"https://mintcdn.com/avraapi/CI9RHnUBtfjY8Z3E/favicon.ico?fit=max\u0026auto=format\u0026n=CI9RHnUBtfjY8Z3E\u0026q=85\u0026s=06fc4ebdc219a34f50b1f571702dc728","api":{"playground":{"display":"interactive","proxy":false,"credentials":false},"examples":{"defaults":"required","languages":["curl","javascript","php"],"prefill":true}},"search":{"prompt":"Search AvraAPI documentation..."},"seo":{"metatags":{"canonical":"https://docs.avraapi.com","robots":"index, follow","googlebot":"index, follow","og:site_name":"AvraAPI","og:locale":"en_US","twitter:card":"summary_large_image","theme-color":"#0450ff"},"organization":{"id":"https://avraapi.com/#organization","name":"AvraAPI","legalName":"Fidex Developers (Pvt) Ltd","url":"https://avraapi.com","logo":"https://docs.avraapi.com/logo/light.png"},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"avraapi","hasAudioNarration":false,"actualSubdomain":"avraapi","customDomains":["docs.avraapi.com"],"gitSource":{"type":"github","owner":"avraapi","repo":"apix","deployBranch":"feature/universal_payment_gateway","contentDirectory":"docs/mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6abefef58bbeefc99d396eb1","clientVersion":"0.0.4277","searchFilterCounts":[{"language":"default","tag":"SDK Documentation","count":25},{"language":"default","tag":"Advanced Services","count":23},{"language":"default","tag":"Universal Payment Gateway","count":18},{"language":"default","tag":"REST API Reference","count":16},{"language":"default","tag":"Information \u0026 Guides","count":13},{"language":"default","tag":"Gateway-wise Functions","count":9},{"language":"default","tag":"Laravel SDK (v1.2.0)","count":8},{"language":"default","tag":"Node.js SDK (v1.2.0)","count":8},{"language":"default","tag":"PHP SDK (v1.5.2)","count":8},{"language":"default","tag":"Getting Started","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"info@avraapi.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"images/payment-elements/playground.css","href":"/_mintlify/custom/avraapi/c9c507745cea4af5/images/payment-elements/playground.css"}]}
{"page":{"pagePath":"api-reference/sms/send","slug":"/api-reference/sms/send","pageMetadata":{"title":"Send an SMS","description":"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.","openapi":"api-reference/provider-api.openapi.yaml POST /sms/send","playground":"interactive","href":"/api-reference/sms/send"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`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.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`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 `,_jsx(_components.code,{children:`X-Confirm-Send`}),` only after reviewing every recipient and message.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Live Testing Guide:`}),` Before using `,_jsx(_components.strong,{children:`Try it`}),`, create a Development project, then enter its `,_jsx(_components.strong,{children:`Client ID`}),` and `,_jsx(_components.strong,{children:`Client Secret`}),`. Configure the relevant provider for that project before sending the request.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`api-endpoint`,children:`API endpoint`}),`\n`,_jsx(CodeBlock,{filename:`POST`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://avraapi.com/api/v1/sms/send`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-fields`,children:`Request fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Rules`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`send_method`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`One of `,_jsx(_components.code,{children:`single`}),`, `,_jsx(_components.code,{children:`bulk_same`}),`, or `,_jsx(_components.code,{children:`bulk_different`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`to`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`single`})]}),_jsxs(_components.td,{children:[`One QuickSend-compatible Sri Lankan number: local `,_jsx(_components.code,{children:`07XXXXXXXX`}),` or E.164 `,_jsx(_components.code,{children:`+947XXXXXXXX`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`single`}),` and `,_jsx(_components.code,{children:`bulk_same`})]}),_jsx(_components.td,{children:`Message text. Input is capped at 4,096 characters and each recipient message may use at most three SMS units.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipients`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`bulk_same`})]}),_jsx(_components.td,{children:`Array of 1–10,000 QuickSend-compatible Sri Lankan numbers.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`check_cost`})}),_jsxs(_components.td,{children:[`No; `,_jsx(_components.code,{children:`bulk_same`}),` only`]}),_jsxs(_components.td,{children:[`Boolean. With `,_jsx(_components.code,{children:`true`}),`, QuickSend returns campaign cost information instead of sending the bulk campaign.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`msg_list`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`bulk_different`})]}),_jsxs(_components.td,{children:[`Array of 1–20 objects. Every object needs `,_jsx(_components.code,{children:`to`}),` and `,_jsx(_components.code,{children:`msg`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`msg_list[].to`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`bulk_different`})]}),_jsx(_components.td,{children:`One QuickSend-compatible Sri Lankan number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`msg_list[].msg`})}),_jsxs(_components.td,{children:[`For `,_jsx(_components.code,{children:`bulk_different`})]}),_jsx(_components.td,{children:`Message text for that recipient, with the same three-unit maximum.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Use a `,_jsx(_components.strong,{children:`Managed`}),` QuickSend integration for `,_jsx(_components.code,{children:`single`}),` only. `,_jsx(_components.code,{children:`bulk_same`}),` and `,_jsx(_components.code,{children:`bulk_different`}),` require a `,_jsx(_components.strong,{children:`Manual (BYOK)`}),` QuickSend integration. `,_jsx(_components.code,{children:`check_cost`}),` is forwarded only for `,_jsx(_components.code,{children:`bulk_same`}),`; setting it for `,_jsx(_components.code,{children:`bulk_different`}),` does not turn that request into a cost estimate and the messages are still sent.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sms-units-and-character-limits`,children:`SMS units and character limits`}),`\n`,_jsxs(_components.p,{children:[`AvraAPI calculates `,_jsx(_components.code,{children:`message_count`}),` from SMS units, not simply from the number of API requests. For predictable message sizing and billing, use `,_jsx(_components.strong,{children:`153 GSM-7 characters`}),` per SMS unit or `,_jsx(_components.strong,{children:`67 Unicode (UCS-2) characters`}),` per SMS unit. Each individual recipient message is limited to a maximum of `,_jsx(_components.strong,{children:`3 SMS units`}),`. Therefore, a `,_jsx(_components.code,{children:`single`}),` request can return a maximum `,_jsx(_components.code,{children:`message_count`}),` of `,_jsx(_components.code,{children:`3`}),`; a bulk response reports the total units across all recipients and can be higher.`]}),`\n`,_jsxs(_components.p,{children:[`For example, a two-recipient `,_jsx(_components.code,{children:`bulk_same`}),` campaign with a one-unit message returns `,_jsx(_components.code,{children:`message_count: 2`}),`. A long or Unicode `,_jsx(_components.code,{children:`single`}),` message can return a `,_jsx(_components.code,{children:`message_count`}),` greater than one.`]}),`\n`,_jsx(Heading,{level:`2`,id:`result-fields`,children:`Result fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`send_method`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The accepted AvraAPI send method.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_count`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total calculated SMS units across the request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`credits_charged`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`AvraAPI credits charged for this request. Manual (BYOK) sends return `,_jsx(_components.code,{children:`0`}),`; QuickSend may charge the connected provider account separately.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`provider_response`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Raw QuickSend acceptance or cost-estimate response. Its fields vary by QuickSend operation.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`single-sms`,children:`Single SMS`}),`\n`,_jsx(Heading,{level:`3`,id:`request-example`,children:`Request example`}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://avraapi.com/api/v1/sms/send\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: YOUR_PROJECT_CLIENT_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-SECRET: YOUR_PROJECT_CLIENT_SECRET\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-ENV: development\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"send_method\":\"single\",\"to\":\"RECIPIENT_NUMBER\",\"message\":\"Text message\"}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example`,children:`Response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1af26040-c878-472f-88bd-6c5158905637\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"send_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"single\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_charged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4726abaf7ab34f31378\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`bulk-sms-with-the-same-message`,children:`Bulk SMS with the same message`}),`\n`,_jsx(Heading,{level:`3`,id:`request-example-2`,children:`Request example`}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://avraapi.com/api/v1/sms/send\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: YOUR_PROJECT_CLIENT_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-SECRET: YOUR_PROJECT_CLIENT_SECRET\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-ENV: development\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"send_method\":\"bulk_same\",\"recipients\":[\"FIRST_RECIPIENT_NUMBER\",\"SECOND_RECIPIENT_NUMBER\"],\"message\":\"Text message\",\"check_cost\":true}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example-2`,children:`Response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2ddf0451-ab4d-47d6-877a-8d167d25d680\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"send_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bulk_same\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_charged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4726abaf95f01e62378\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`bulk-sms-cost-check`,children:`Bulk SMS cost check`}),`\n`,_jsx(Heading,{level:`3`,id:`request-example-3`,children:`Request example`}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://avraapi.com/api/v1/sms/send\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: YOUR_PROJECT_CLIENT_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-SECRET: YOUR_PROJECT_CLIENT_SECRET\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-ENV: development\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"send_method\":\"bulk_same\",\"recipients\":[\"FIRST_RECIPIENT_NUMBER\",\"SECOND_RECIPIENT_NUMBER\"],\"message\":\"Text message\",\"check_cost\":true}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example-3`,children:`Response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"d5ca2bbb-9cab-42ef-932a-62ef61470447\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"send_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bulk_same\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_charged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Same Message To Bulk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transactional\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APIX SENDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_total_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.12 LKR (0.56×2)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_total_numbers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2 Numbers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sms_msg_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BULK TRANSACTION TEST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unicode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1 SMS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"per_sms_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.56 LKR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg_cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.56 LKR (1×0.56)\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`bulk-sms-with-different-messages`,children:`Bulk SMS with different messages`}),`\n`,_jsx(Heading,{level:`3`,id:`request-example-4`,children:`Request example`}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://avraapi.com/api/v1/sms/send\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: YOUR_PROJECT_CLIENT_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-SECRET: YOUR_PROJECT_CLIENT_SECRET\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-ENV: development\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"send_method\":\"bulk_different\",\"msg_list\":[{\"to\":\"FIRST_RECIPIENT_NUMBER\",\"msg\":\"First text message\"},{\"to\":\"SECOND_RECIPIENT_NUMBER\",\"msg\":\"Second text message\"}]}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example-4`,children:`Response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5bf45f1d-e0ee-4293-8a47-f033d1fb0c4a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"send_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bulk_different\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_charged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4726abafafabbb0a378\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error.code`})}),_jsx(_components.th,{children:`When it happens`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`unauthorized`})})}),_jsx(_components.td,{children:`Credentials are missing, invalid, inactive, or do not match the selected environment.`}),_jsxs(_components.td,{children:[`Check your backend secret configuration and `,_jsx(_components.code,{children:`X-ENV`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`insufficient_funds`})})}),_jsx(_components.td,{children:`A Managed SMS send requires AvraAPI credits that are unavailable.`}),_jsx(_components.td,{children:`Top up the AvraAPI wallet or reduce the message units before sending again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`forbidden`})})}),_jsxs(_components.td,{children:[`A Managed integration attempted `,_jsx(_components.code,{children:`bulk_same`}),` or `,_jsx(_components.code,{children:`bulk_different`}),`, or a trial destination restriction rejected the recipient.`]}),_jsxs(_components.td,{children:[`Use `,_jsx(_components.code,{children:`single`}),` for Managed SMS, or configure Manual (BYOK) QuickSend for bulk sending. Check any trial recipient restriction before retrying.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`428`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`send_confirmation_required`})})}),_jsx(_components.td,{children:`A Documentation Playground send did not explicitly acknowledge the real delivery action.`}),_jsxs(_components.td,{children:[`Review every recipient and message, then set `,_jsx(_components.code,{children:`X-Confirm-Send`}),` to `,_jsx(_components.code,{children:`true`}),`. This does not make an uncertain send safe to retry.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`validation_failed`})})}),_jsx(_components.td,{children:`The request body does not satisfy the selected send-method fields. The response includes field details.`}),_jsx(_components.td,{children:`Correct the body and submit a new request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`provider_selection_failed`})})}),_jsx(_components.td,{children:`No active QuickSend SMS integration can be selected for the project environment.`}),_jsx(_components.td,{children:`Configure or enable the QuickSend integration for the selected environment.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`http_error`})})}),_jsx(_components.td,{children:`The active integration is incomplete, the message exceeds three SMS units, or the SMS configuration cannot be used.`}),_jsx(_components.td,{children:`Correct the configuration or request; do not repeat an uncertain send.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`rate_limit_exceeded`})})}),_jsx(_components.td,{children:`The configured request limit was reached.`}),_jsxs(_components.td,{children:[`Respect `,_jsx(_components.code,{children:`Retry-After`}),` when present; do not retry in a tight loop.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`internal_error`})})}),_jsx(_components.td,{children:`The request could not complete unexpectedly.`}),_jsx(_components.td,{children:`Investigate with the request ID before deciding whether to submit a new send.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`http_error`})})}),_jsx(_components.td,{children:`QuickSend rejected the request, returned an unexpected response, or its configured credentials failed.`}),_jsx(_components.td,{children:`Correct the request or integration. Do not repeat the same send until you know it was not accepted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`http_error`})})}),_jsx(_components.td,{children:`QuickSend was temporarily unreachable.`}),_jsx(_components.td,{children:`Treat delivery as uncertain; check your provider records before any manual retry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(`code`,{children:`project_paused`})})}),_jsx(_components.td,{children:`The project is paused.`}),_jsx(_components.td,{children:`Reactivate the project before retrying.`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Keep the JSON `,_jsx(_components.code,{children:`request_id`}),` or `,_jsx(_components.code,{children:`X-APIX-Request-ID`}),` response header with your support record. It is the safest way for AvraAPI support to trace a request.`]})}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/api-reference/rest-api`,children:`REST API guide`}),` for shared credential, privacy, and error-handling guidance.`]}),`\n`,_jsx(Heading,{level:`2`,id:`playground-resources`,children:`Playground resources`}),`\n`,_jsx(_components.p,{children:`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.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send an SMS","description":"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.","openapi":"api-reference/provider-api.openapi.yaml POST /sms/send","playground":"interactive","href":"/api-reference/sms/send"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API endpoint","slug":"api-endpoint","depth":2,"children":[]},{"title":"Request fields","slug":"request-fields","depth":2,"children":[]},{"title":"SMS units and character limits","slug":"sms-units-and-character-limits","depth":2,"children":[]},{"title":"Result fields","slug":"result-fields","depth":2,"children":[]},{"title":"Single SMS","slug":"single-sms","depth":2,"children":[{"title":"Request example","slug":"request-example","depth":3,"children":[]},{"title":"Response example","slug":"response-example","depth":3,"children":[]}]},{"title":"Bulk SMS with the same message","slug":"bulk-sms-with-the-same-message","depth":2,"children":[{"title":"Request example","slug":"request-example-2","depth":3,"children":[]},{"title":"Response example","slug":"response-example-2","depth":3,"children":[]}]},{"title":"Bulk SMS cost check","slug":"bulk-sms-cost-check","depth":2,"children":[{"title":"Request example","slug":"request-example-3","depth":3,"children":[]},{"title":"Response example","slug":"response-example-3","depth":3,"children":[]}]},{"title":"Bulk SMS with different messages","slug":"bulk-sms-with-different-messages","depth":2,"children":[{"title":"Request example","slug":"request-example-4","depth":3,"children":[]},{"title":"Response example","slug":"response-example-4","depth":3,"children":[]}]},{"title":"Error codes","slug":"error-codes","depth":2,"children":[]},{"title":"Playground resources","slug":"playground-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/avraapi/ec3b4381e9d0c5d2/images/payment-elements/playground.js"],"openApiReferenceData":{"operation":{"tags":["SMS"],"operationId":"sendSms","summary":"Send an SMS","description":"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.","x-avraapi-operation-classification":"interactive-development","parameters":["c54d18dc-ccec-428b-833b-131f6c0b99b7","c584d00c-2779-48fe-ac2c-54004b5d0984","72702b23-cc1c-4e25-8912-50e5866fbbe4","0426ad8d-8108-4601-8f01-2538259f8175"],"requestBody":"3f13c5d5-7238-42ff-a3e5-43fd6ad743a2","responses":{"200":"3b1fd2b1-1995-4b56-b9f3-b19ecea50662","401":"bc61cdf8-c3f4-40d5-a055-ceeb668fe387","402":"43e4d7fb-9948-4e6c-bed1-85a4c78875a6","403":"25acb825-a326-4463-b67f-5d3923791c50","422":"11d341de-02b3-4405-b70f-858ab4bbecea","428":"004063d8-3794-436e-9762-f2d64a580778","429":"1ffe3474-522a-42c3-8f79-e3291196f419","500":"bebc0fc1-741a-44b4-a1fb-6a8c1350db9c","502":"37496661-c48c-4054-8be5-eea1875994ee","503":"2c20b0df-f769-4d1b-8cc8-0e95f5dc0a17"},"method":"post","type":"path","servers":["13fe6015-747e-4dae-bb20-620e83109976"],"security":["dba1cf01-89ab-45f1-a005-235bcd9b3c8d"],"path":"/sms/send","baseUrlOptions":["https://avraapi.com/api/v1"],"title":"Send an SMS","codeSamples":[],"requestExampleLanguages":["bash","javascript","php"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.oneOf.0.send_method":"single","body.oneOf.0.to":"RECIPIENT_NUMBER","body.oneOf.0.message":"Text message"},{"body.oneOf.1.send_method":"bulk_same","body.oneOf.1.recipients.items.0":"FIRST_RECIPIENT_NUMBER","body.oneOf.1.recipients.items.1":"SECOND_RECIPIENT_NUMBER","body.oneOf.1.message":"Text message","body.oneOf.1.check_cost":true},{"body.oneOf.1.send_method":"bulk_same","body.oneOf.1.recipients.items.0":"FIRST_RECIPIENT_NUMBER","body.oneOf.1.recipients.items.1":"SECOND_RECIPIENT_NUMBER","body.oneOf.1.message":"Text message","body.oneOf.1.check_cost":true},{"body.oneOf.2.send_method":"bulk_different","body.oneOf.2.msg_list.items.0.to":"FIRST_RECIPIENT_NUMBER","body.oneOf.2.msg_list.items.0.msg":"First text message","body.oneOf.2.msg_list.items.1.to":"SECOND_RECIPIENT_NUMBER","body.oneOf.2.msg_list.items.1.msg":"Second text message"}],"disableProxy":true},"dependencies":{"parameters":{"c54d18dc-ccec-428b-833b-131f6c0b99b7":{"name":"X-ENV","in":"header","required":false,"description":"Selects the Development credential environment. The Documentation Playground exposes Development values only; normal backend integrations may use their documented Production credentials outside this tool.","schema":{"type":"string","enum":["dev","development"],"default":"development","isRequired":false,"description":"Selects the Development credential environment. The Documentation Playground exposes Development values only; normal backend integrations may use their documented Production credentials outside this tool.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"c584d00c-2779-48fe-ac2c-54004b5d0984":{"name":"Accept","in":"header","required":false,"description":"Requests a JSON response where the selected operation supports JSON.","schema":{"type":"string","example":"application/json","isRequired":false,"description":"Requests a JSON response where the selected operation supports JSON.","uniqueKey":"","typeLabel":"string"}},"72702b23-cc1c-4e25-8912-50e5866fbbe4":{"name":"X-Privacy-Mode","in":"header","required":false,"description":"Optional privacy override. Turn this on to request that AvraAPI suppress request-payload storage in observability logs for this request.","schema":{"type":"boolean","default":false,"example":true,"isRequired":false,"description":"Optional privacy override. Turn this on to request that AvraAPI suppress request-payload storage in observability logs for this request.","uniqueKey":"","typeLabel":"boolean"}},"0426ad8d-8108-4601-8f01-2538259f8175":{"name":"X-Confirm-Send","in":"header","required":false,"description":"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.","schema":{"type":"boolean","default":false,"example":true,"isRequired":false,"description":"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.","uniqueKey":"","typeLabel":"boolean"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Single SMS","required":["send_method","to","message"],"properties":{"send_method":{"type":"string","enum":["single"],"default":"single","x-default":"single","description":"Fixed to `single` for this form.","isRequired":true,"uniqueKey":"oneOf.0.send_method","typeLabel":"enum\u003cstring>"},"to":{"type":"string","maxLength":20,"description":"Local Sri Lankan `07XXXXXXXX` or E.164 `+947XXXXXXXX` number. Replace this with the recipient number before sending.","example":"RECIPIENT_NUMBER","x-default":"RECIPIENT_NUMBER","isRequired":true,"uniqueKey":"oneOf.0.to","typeLabel":"string"},"message":{"type":"string","maxLength":4096,"description":"Message text. The released service limits each recipient message to three SMS units.","example":"Text message","x-default":"Text message","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"Single SMS · object"},{"type":"object","title":"Bulk SMS","required":["send_method","recipients","message"],"properties":{"send_method":{"type":"string","enum":["bulk_same"],"default":"bulk_same","x-default":"bulk_same","description":"Fixed to `bulk_same` for this form.","isRequired":true,"uniqueKey":"oneOf.1.send_method","typeLabel":"enum\u003cstring>"},"recipients":{"type":"array","minItems":1,"maxItems":10000,"x-default":["FIRST_RECIPIENT_NUMBER","SECOND_RECIPIENT_NUMBER"],"items":{"type":"string","maxLength":20,"description":"Local Sri Lankan `07XXXXXXXX` or E.164 `+947XXXXXXXX` number. Add each recipient number separately.","example":"RECIPIENT_NUMBER","x-default":"RECIPIENT_NUMBER","uniqueKey":"oneOf.1.recipients.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.1.recipients","typeLabel":"string[]"},"message":{"type":"string","maxLength":4096,"description":"Message text. The released service limits each recipient message to three SMS units.","example":"Text message","x-default":"Text message","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"check_cost":{"type":"boolean","default":true,"x-default":true,"description":"Start with a cost estimate. Turn this off only when you are ready to send the campaign to every listed recipient.","uniqueKey":"oneOf.1.check_cost","typeLabel":"boolean"}},"uniqueKey":"oneOf.1","typeLabel":"Bulk SMS · object"},{"type":"object","title":"Bulk Different","required":["send_method","msg_list"],"properties":{"send_method":{"type":"string","enum":["bulk_different"],"default":"bulk_different","x-default":"bulk_different","description":"Fixed to `bulk_different` for this form.","isRequired":true,"uniqueKey":"oneOf.2.send_method","typeLabel":"enum\u003cstring>"},"msg_list":{"type":"array","minItems":1,"maxItems":20,"x-default":[{"to":"FIRST_RECIPIENT_NUMBER","msg":"First text message"},{"to":"SECOND_RECIPIENT_NUMBER","msg":"Second text message"}],"items":{"title":"Recipient message","type":"object","additionalProperties":false,"required":["to","msg"],"properties":{"to":{"type":"string","maxLength":20,"description":"Local Sri Lankan `07XXXXXXXX` or E.164 `+947XXXXXXXX` number. Enter a recipient number that can receive the message.","example":"RECIPIENT_NUMBER","x-default":"RECIPIENT_NUMBER","isRequired":true,"uniqueKey":"oneOf.2.msg_list.items.[INDEX].to","typeLabel":"string"},"msg":{"type":"string","maxLength":4096,"description":"Message text. The released service limits each recipient message to three SMS units.","example":"Text message","x-default":"Text message","isRequired":true,"uniqueKey":"oneOf.2.msg_list.items.[INDEX].msg","typeLabel":"string"}},"uniqueKey":"oneOf.2.msg_list.items.[INDEX]","typeLabel":"Recipient message · object"},"isRequired":true,"uniqueKey":"oneOf.2.msg_list","typeLabel":"Recipient message · object[]"}},"uniqueKey":"oneOf.2","typeLabel":"Bulk Different · object"}],"uniqueKey":"","typeLabel":"Single SMS · object | Bulk SMS · object | Bulk Different · object"},"examples":{"single":{"title":"single","summary":"Replace with your recipient number before sending","value":{"send_method":"single","to":"RECIPIENT_NUMBER","message":"Text message"}},"bulk_same":{"title":"bulk_same","summary":"Manual (BYOK) bulk cost check","value":{"send_method":"bulk_same","recipients":["FIRST_RECIPIENT_NUMBER","SECOND_RECIPIENT_NUMBER"],"message":"Text message","check_cost":true}},"bulk_same_cost":{"title":"bulk_same_cost","summary":"Check the cost of a bulk-same campaign without sending it","value":{"send_method":"bulk_same","recipients":["FIRST_RECIPIENT_NUMBER","SECOND_RECIPIENT_NUMBER"],"message":"Text message","check_cost":true}},"bulk_different":{"title":"bulk_different","summary":"Manual (BYOK) messages for multiple recipients","value":{"send_method":"bulk_different","msg_list":[{"to":"FIRST_RECIPIENT_NUMBER","msg":"First text message"},{"to":"SECOND_RECIPIENT_NUMBER","msg":"Second text message"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3b1fd2b1-1995-4b56-b9f3-b19ecea50662":{"description":"Provider acceptance result or bulk-same cost estimate.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","data"],"properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","description":"Include this value when contacting AvraAPI support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"data":{"type":"object","description":"Operation-specific result data.","required":["send_method","message_count","credits_charged","provider_response"],"properties":{"send_method":{"type":"string","enum":["single","bulk_same","bulk_different"],"isRequired":true,"uniqueKey":"data.send_method","typeLabel":"enum\u003cstring>"},"message_count":{"type":"integer","minimum":1,"description":"Total calculated SMS units across the request.","isRequired":true,"uniqueKey":"data.message_count","typeLabel":"integer"},"credits_charged":{"type":"integer","minimum":0,"description":"AvraAPI credits charged. Manual (BYOK) sends return zero.","isRequired":true,"uniqueKey":"data.credits_charged","typeLabel":"integer"},"provider_response":{"type":"object","additionalProperties":true,"description":"Raw QuickSend acceptance or cost-estimate response, which varies by operation.","isRequired":true,"uniqueKey":"data.provider_response","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"single_accepted":{"title":"single_accepted","summary":"Managed single send accepted by QuickSend","value":{"success":true,"request_id":"1af26040-c878-472f-88bd-6c5158905637","data":{"send_method":"single","message_count":1,"credits_charged":2000,"provider_response":{"status":"success","id":"4726abaf7ab34f31378"}}}},"bulk_same_cost":{"title":"bulk_same_cost","summary":"Manual bulk-same cost estimate","value":{"success":true,"request_id":"d5ca2bbb-9cab-42ef-932a-62ef61470447","data":{"send_method":"bulk_same","message_count":2,"credits_charged":0,"provider_response":{"status":"success","campaign_data":{"campaign_method":"Same Message To Bulk","campaign_total_cost":"1.12 LKR (0.56×2)","campaign_total_numbers":"2 Numbers"}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"bc61cdf8-c3f4-40d5-a055-ceeb668fe387":{"description":"Missing, invalid, inactive, or environment-mismatched project credentials.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unauthorized"],"example":"unauthorized","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"unauthorized","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"43e4d7fb-9948-4e6c-bed1-85a4c78875a6":{"description":"The Managed SMS send requires AvraAPI credits that are not available.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["insufficient_funds"],"example":"insufficient_funds","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficient_funds":{"title":"insufficient_funds","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"insufficient_funds","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"25acb825-a326-4463-b67f-5d3923791c50":{"description":"The requested SMS action is not allowed for the active integration or trial restriction.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["forbidden"],"example":"forbidden","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"forbidden":{"title":"forbidden","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"forbidden","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"11d341de-02b3-4405-b70f-858ab4bbecea":{"description":"The send request does not satisfy the selected send-method fields.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["validation_failed"],"example":"validation_failed","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"validation_failed":{"title":"validation_failed","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"validation_failed","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"004063d8-3794-436e-9762-f2d64a580778":{"description":"A Documentation Playground send was not explicitly acknowledged.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["send_confirmation_required"],"example":"send_confirmation_required","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"send_confirmation_required":{"title":"send_confirmation_required","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"send_confirmation_required","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"1ffe3474-522a-42c3-8f79-e3291196f419":{"description":"The configured SMS request limit has been reached.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}},"Retry-After":{"description":"Seconds to wait before retrying a rate-limited request.","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["rate_limit_exceeded"],"example":"rate_limit_exceeded","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limit_exceeded":{"title":"rate_limit_exceeded","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"rate_limit_exceeded","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"bebc0fc1-741a-44b4-a1fb-6a8c1350db9c":{"description":"The SMS send could not complete unexpectedly.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["internal_error"],"example":"internal_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internal_error":{"title":"internal_error","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"internal_error","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"37496661-c48c-4054-8be5-eea1875994ee":{"description":"QuickSend rejected the request, returned an unexpected response, or its configured credentials failed.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["http_error"],"example":"http_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"http_error":{"title":"http_error","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"http_error","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"2c20b0df-f769-4d1b-8cc8-0e95f5dc0a17":{"description":"QuickSend was temporarily unreachable for the SMS send.","headers":{"X-APIX-Request-ID":{"description":"AvraAPI request identifier for support and troubleshooting.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["success","request_id","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["http_error"],"example":"http_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"http_error":{"title":"http_error","value":{"success":false,"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error":{"code":"http_error","message":"\u003cstring>","details":{}},"meta":{}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"dba1cf01-89ab-45f1-a005-235bcd9b3c8d":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Development project's Client ID. Enter your own value in the Documentation Playground.","scopes":[]},"ApiSecretHeader":{"type":"apiKey","in":"header","name":"X-API-SECRET","description":"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.","scopes":[]}}},"servers":{"13fe6015-747e-4dae-bb20-620e83109976":{"url":"https://avraapi.com/api/v1","description":"AvraAPI REST API v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Development project's Client ID. Enter your own value in the Documentation Playground.","scopes":[]},"schema":{"title":"X-API-KEY","type":"string","description":"Your Development project's Client ID. Enter your own value in the Documentation Playground.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-API-KEY"},{"scheme":{"type":"apiKey","in":"header","name":"X-API-SECRET","description":"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.","scopes":[]},"schema":{"title":"X-API-SECRET","type":"string","description":"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.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiSecretHeader","name":"X-API-SECRET"}],"title":"ApiKeyHeader \u0026 ApiSecretHeader"}]},"originalFileLocation":"api-reference/provider-api.openapi.yaml"},"subdomain":"avraapi","siteName":"AvraAPI","title":"Send an SMS - AvraAPI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T13:37:07.625Z","originalFileLocation":"api-reference/sms/send.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AvraAPI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send an SMS - AvraAPI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AvraAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.avraapi.com/api-reference/sms/send\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://avraapi.mintlify.site/_mintlify/api/og/v2?division=SMS\u0026amp;title=Send+an+SMS\u0026amp;description=Send+one+SMS%2C+the+same+SMS+to+a+bulk+list%2C+or+different+SMS+messages+to+multiple+recipients.\u0026amp;theme=d9e89b2eca5511b6e2827c0b\u0026amp;signature=354bb234f1a393344ffa51c4771256fe3cebc66a37d2071f5690c7723d9d3ca5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send an SMS - AvraAPI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://avraapi.mintlify.site/_mintlify/api/og/v2?division=SMS\u0026amp;title=Send+an+SMS\u0026amp;description=Send+one+SMS%2C+the+same+SMS+to+a+bulk+list%2C+or+different+SMS+messages+to+multiple+recipients.\u0026amp;theme=d9e89b2eca5511b6e2827c0b\u0026amp;signature=354bb234f1a393344ffa51c4771256fe3cebc66a37d2071f5690c7723d9d3ca5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/avraapi/hBrlc_a6OxL2-jI-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AvraAPI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0450ff\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0450ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.avraapi.com/api-reference/sms/send\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sms/send.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://avraapi.com/#organization\",\"name\":\"AvraAPI\",\"legalName\":\"Fidex Developers (Pvt) Ltd\",\"url\":\"https://avraapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.avraapi.com/logo/light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.avraapi.com#website\",\"name\":\"AvraAPI\",\"url\":\"https://docs.avraapi.com\",\"publisher\":{\"@id\":\"https://avraapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.avraapi.com/api-reference/sms/send#webpage\",\"url\":\"https://docs.avraapi.com/api-reference/sms/send\",\"name\":\"Send an SMS\",\"description\":\"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\",\"dateModified\":\"2026-10-01T13:37:07.625Z\",\"isPartOf\":{\"@id\":\"https://docs.avraapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.avraapi.com/api-reference/sms/send#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.avraapi.com/api-reference/sms/send#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SMS\",\"item\":\"https://docs.avraapi.com/api-reference/sms/balance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send an SMS\",\"item\":\"https://docs.avraapi.com/api-reference/sms/send\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.avraapi.com/api-reference/sms/send#apireference\",\"headline\":\"Send an SMS\",\"name\":\"Send an SMS\",\"description\":\"Send one SMS, the same SMS to a bulk list, or different SMS messages to multiple recipients.\",\"url\":\"https://docs.avraapi.com/api-reference/sms/send\",\"mainEntityOfPage\":{\"@id\":\"https://docs.avraapi.com/api-reference/sms/send#webpage\"},\"dateModified\":\"2026-10-01T13:37:07.625Z\",\"publisher\":{\"@id\":\"https://avraapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.avraapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AvraAPI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AvraAPI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/sms/send.md","siteName":"AvraAPI","nav":{"global":null,"tabs":[{"tab":"Information \u0026 Guides","icon":"book-open","pages":[{"title":"Information \u0026 Guides","href":"/introduction"}]},{"tab":"Advanced Services","icon":"wand-magic-sparkles","pages":[{"title":"Advanced Services","href":"/universal-payment-gateway/overview"}]},{"tab":"SDK Documentation","icon":"code","pages":[{"title":"SDK Documentation","href":"/sdk/overview"}]},{"tab":"REST API Reference","icon":"server","groups":[{"group":"Introduction","pages":[{"title":"API Reference overview","icon":"map","href":"/api-reference/overview"},{"title":"Providers \u0026 Microservices","icon":"book-open","href":"/api-reference/providers-and-microservices"},{"title":"REST API guide","icon":"terminal","href":"/api-reference/rest-api"}]},{"group":"Currencies","pages":[{"title":"CBSL Rates","icon":"landmark","href":"/api-reference/cbsl-rates"},{"title":"List supported currency codes","openapi":"api-reference/provider-api.openapi.yaml GET /utility/currency/codes","playground":"interactive","href":"/api-reference/currency/list-codes"},{"title":"Get latest rates","openapi":"api-reference/provider-api.openapi.yaml GET /utility/currency/latest/{base}","playground":"interactive","href":"/api-reference/currency/latest-rates"},{"title":"Get one currency-pair rate","openapi":"api-reference/provider-api.openapi.yaml GET /utility/currency/pair/{base}/{target}","playground":"interactive","href":"/api-reference/currency/pair-rate"},{"title":"Convert a currency amount","openapi":"api-reference/provider-api.openapi.yaml GET /utility/currency/pair/{base}/{target}/{amount}","playground":"interactive","href":"/api-reference/currency/convert-amount"}]},{"group":"SMS","pages":[{"title":"Check SMS balance","description":"Read the balance associated with the configured QuickSend SMS integration.","openapi":"api-reference/provider-api.openapi.yaml POST /sms/balance","playground":"interactive","href":"/api-reference/sms/balance"},{"title":"Send an SMS","openapi":"api-reference/provider-api.openapi.yaml POST /sms/send","playground":"interactive","href":"/api-reference/sms/send"}]},{"group":"Security","pages":[{"title":"Check VPN, proxy, and IP risk","description":"Classify one permitted IPv4 or IPv6 address for VPN, proxy, Tor, relay, and hosting signals.","openapi":"api-reference/provider-api.openapi.yaml POST /security/vpn-shield","playground":"interactive","href":"/api-reference/security/vpn-shield"},{"title":"Check a disposable email address","openapi":"api-reference/provider-api.openapi.yaml POST /security/burner-email-shield","playground":"interactive","href":"/api-reference/security/burner-email-shield"}]},{"group":"Location","pages":[{"title":"Look up an IP address","openapi":"api-reference/provider-api.openapi.yaml POST /location/lookup","playground":"interactive","href":"/api-reference/location/lookup"}]},{"group":"Utilities","pages":[{"title":"Generate a QR code","openapi":"api-reference/provider-api.openapi.yaml POST /utilities/qr/generate","playground":"interactive","href":"/api-reference/utilities/qr-generate"},{"title":"Generate a barcode","openapi":"api-reference/provider-api.openapi.yaml POST /utilities/barcode/generate","playground":"interactive","href":"/api-reference/utilities/barcode-generate"},{"title":"Generate a PDF","openapi":"api-reference/provider-api.openapi.yaml POST /utilities/pdf/generate","playground":"interactive","href":"/api-reference/utilities/pdf-generate"}]}]}]},"basePath":"","title":"Send an SMS - AvraAPI","deploymentId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","buildId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CtBVvVHw.js","snippetPresets-9Wdj1iJX.js","utils-C7pdn048.js","style-to-object-BY3JEAdk.js","utils-DXrrd362.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-mhMleBMB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BAjduu_G.js","_Uint8Array-nYbT9fMe.js","isObject-FP1Yky1u.js","ApiExamples-B_rQ3sQn.js","usePlaygroundInputsStore-1axgsDkN.js","shallow-BzGYy3WT.js","isEqual-YKdP-BC9.js","CodeSnippets-Bnk9aSsZ.js","CodeSnippet-CpmxV9bB.js","getApiPlaygroundDisplay-bJKEwju4.js","Page-B3Xw2AdP.js","DynamicMarkdown-hgwwGkem.js","SectionHeading-D_cNZKTp.js","icon-Bt9132nT.js","MethodPill-bMPQiifO.js","getPastedJson-B4rstRhU.js","Check2Icon-D82b8qKN.js","axios-CsQoIw0U.js","Markdown-0sfW67Ea.js","AssistantPageLink-B0docfb1.js","dist-DAabPqRJ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}