Skip to main content
POST
Create audience profile import

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Body

application/json
replayKey
string
required

Specifies replay key for this schema.

Value constraints

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9._:-]+$
csvBase64
string<byte>
required

UTF-8 CSV encoded as standard padded base64; decoded file at most 10 MiB and 10,000 data rows. The tags cell holds a JSON array of strings and the attributes cell a JSON object, quoted as CSV requires, for example +15550100001,"[""vip""]","{""city"":""Lisbon""}".

Value constraints

Required string length: 1 - 13981016
mapping
object

Maps profile fields to exact CSV header names. Required when the CSV uses different headers; unmapped CSV columns are ignored.

Response

Success

data
object
required

Structured data carried by this object.