Skip to main content
POST
Import contacts

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Get your API key from the Reply dashboard: Settings → API Key.

Body

application/json

Import contacts by providing an array of contact objects with optional import settings

items
Contact Patch Request · object[]
required

Array of contact objects to import. Uses the same fields as the contact patch model, plus contactId, except that firstName is required for every item. An item with no firstName is not imported — it is returned with status: failed and error: "Invalid data". Supplying only lastName does not satisfy the requirement. stage sets a stage here but cannot clear one — an omitted or null stage leaves the contact's current stage alone. An item naming a stage that does not exist — including an empty or blank name — is returned with status: failed and an error listing the available names; the rest of the batch still imports.

Minimum array length: 1
options
object

Import settings

Response

Contacts import processed successfully

Summary of a processed contacts import request with per-item results

items
object[]

Per-item result for each contact in the import request (same order as input)

enrollment
Contact Import Enrollment Summary · object | null

Enrollment totals. null when the request carried no options.sequenceId.

added
integer

Number of contacts created

updated
integer

Number of contacts updated

skipped
integer

Number of contacts skipped

failed
integer

Number of contacts that failed