/api/v5/batch-files

This endpoint allows you to upload a single bulk file in either .txt or .csv format.

--If you're uploading a Bulk(.txt) file, it should contain only mobile numbers, separated by commas or placed on separate lines.

If you're uploading a CSV(.csv) file, it must include at least two columns: "PhoneNumber" and "Name


NOTE

When using libraries like Axios, Fetch, or Postman, do not manually set the Content-Type header to multipart/form-data. These tools will automatically:

  • Set the correct Content-Type header
  • Generate the correct boundary string needed for the multipart format

Manually setting the Content-Type header may cause the request to fail or be malformed.


REQUEST FIELDS

countryCode - The country code for the phone numbers (e.g., 234 for Nigeria). If not specified, uses the country code belonging to the user's Timezone as default.

file - A .txt or .csv file containing mobile numbers to be uploaded.

Language
Credentials
Header
Click Try It! to start a request and see the response here!