Skip to main content
POST
/
v1
/
contactBooks
/
{contactBookId}
/
contacts
/
bulk
cURL
curl --request POST \
  --url https://app.usesend.com/api/v1/contactBooks/{contactBookId}/contacts/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "properties": {},
    "subscribed": true
  }
]
'
{
  "message": "<string>",
  "count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contactBookId
string
required
Minimum string length: 3
Example:

"cuiwqdj74rygf74"

Body

application/json
Required array length: 1 - 1000 elements
email
string
required
firstName
string
lastName
string
properties
object
subscribed
boolean

Response

Bulk add contacts to a contact book

message
string
required
count
number
required