Import contacts
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Request
This endpoint expects an object.
fileContent
Base64-encoded file content (VCF, CSV, or JSON)
format
File format of the encoded content
confirmed
Set to true to execute the import; false returns a dry-run preview
defaultCountryCode
Default country code for phone numbers without + prefix
duplicateStrategy
How to handle contacts whose phone number already exists (default: skip)
Response
Import result
errors
Detailed error information for each failed row
failed
Number of contacts that failed validation
imported
Number of contacts successfully imported
skipped
Number of contacts skipped due to duplicate phone numbers
totalRows
Total number of rows parsed from the file
preview
Preview of first 10 contacts that will be imported (only in preview mode)
skippedPreview
Preview of first 10 skipped contacts with reasons (only in preview mode)
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error