Skip to main content
POST
/
api
/
public
/
suppression-lists
/
{id}
/
entries
Add numbers
curl --request POST \
  --url https://astrasend-mocha.vercel.app/api/public/suppression-lists/{id}/entries \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phones": [
    "+15551234567"
  ]
}
'
{
  "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
phones
string[]

Response

200 - application/json

Success

ok
boolean
Example:

true