mailvina
DocsAudiences & contacts ▾

Guides

Audiences & contacts

curl -X POST 'https://api.mailvina.com/audiences' \
  -H 'Authorization: Bearer mv_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Newsletter"
}'
curl -X POST 'https://api.mailvina.com/audiences/:audience_id/contacts' \
  -H 'Authorization: Bearer mv_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "[email protected]",
  "first_name": "Ada",
  "last_name": "Lovelace"
}'

You can also paste or upload a CSV (email,first_name,last_name) in the dashboard. Update unsubscribed with PATCH.