Skip to main content
POST
/
api
/
public
/
numbers
Order a number
curl --request POST \
  --url https://astrasend-mocha.vercel.app/api/public/numbers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "number": "<string>",
  "pool_id": "<string>",
  "daily_limit": 123
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Your API key (as_live_…), created under Settings → API keys.

Body

application/json
number
string
required
pool_id
string
daily_limit
integer

Response

Success

ok
boolean
Example:

true