Skip to main content
POST
/
v1
/
contacts
/
bulk
Bulk create contacts
curl --request POST \
  --url https://api.emailr.dev/v1/contacts/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contacts": [
    {
      "email": "contact@example.com",
      "first_name": "John",
      "last_name": "Doe",
      "subscribed": true,
      "metadata": {
        "source": "website",
        "plan": "pro"
      }
    }
  ]
}
'
{
  "imported": 10,
  "total": 12
}

Authorizations

Authorization
string
header
required

API key authentication. Use your API key as the bearer token.

Body

application/json
contacts
object[]
required

Response

Contacts imported

imported
integer
required
Example:

10

total
integer
required
Example:

12