Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://astrasend-mocha.vercel.app/api/public/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "to": "+15551234567", "body": "Your code is 4821." } '
{ "ok": true }
Send a single SMS, outside any campaign. Requires the data plane.
Your API key (as_live_…), created under Settings → API keys.
as_live_…
"+15551234567"
An owned number — E.164 or a number id. Omit for the default.
Success
true
Was this page helpful?