Skip to main content
POST
Import contacts from a file

Authorizations

Authorization
string
header
required

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

Body

application/json
fileId
string
required
Pattern: \d+
channel
enum<string>
required
Available options:
omnichannel,
webchat,
messenger,
whatsapp,
zalo,
smtp,
telegram,
instagram,
tiktok
inboxId
string
required
Pattern: \d+
countryCode
string
Pattern: ^\+\d{1,4}$
phoneNumber
string
Maximum string length: 255
contactId
string
Maximum string length: 255
email
string
Maximum string length: 255
firstName
string
Maximum string length: 255
lastName
string
Maximum string length: 255
tagId
string
Pattern: \d+
fieldMapping
object[]
Maximum array length: 10

Response

201 - application/json

OK

The response is of type any.