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

Response

200 - application/json

Success

ok
boolean
Example:

true