Skip to main content
POST
/
contacts
/
import
Import contacts
curl --request POST \
  --url https://api-message.nativehub.live/api/v1/contacts/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "imported": 985,
  "skipped": 12,
  "errors": 3
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file

Response

200 - application/json

Contacts imported successfully

imported
integer
skipped
integer
errors
integer