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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
pool_id
string
daily_limit
integer
status
string

Response

200 - application/json

Success

ok
boolean
Example:

true