POST
/v1/subscribers/import

Import subscribers from a CSV file into your publication. The publication is identified by the API key provided in the Authorization header.

File Requirements:

  • Maximum file size: 10MB
  • Content type: text/csv

Supported CSV Columns:

  • Email: email or subscriberEmail (case-insensitive)
  • Wallet: wallet_address (case-insensitive)
  • Created date: created_at, subscription date, created, or createdAt (case-insensitive, optional)

At least one of email or wallet_address must be present for each row. Rows with neither valid email nor valid wallet address will be skipped.

Authorization

apiKey
headerAuthorizationBearer <token>

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Request Body

Body

multipart/form-data
  1. body
file?unknown

CSV file containing subscriber data (max 10MB)

Response Body

Import started successfully

application/json
  1. response
success*true

Whether the import was started

Value intrue
curl -X POST "https://example.com/v1/subscribers/import"
{  "success": true}