cURL
curl --request POST \ --url https://api-message.nativehub.live/api/v1/campaigns/{id}/import-recipients \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "imported": 4850, "skipped": 23 }
Import recipients from CSV file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Campaign ID
Recipients imported successfully