Importing users
Index
1. POST /messageuser/import
Method: POST
Pathname:
{{baseUrl}}/api/v1/{{codename}}/messageuser/:accountId/import
Header:
Accept: 'application/json'
Authorization: 'Bearer ' + accessToken
Url params:
Parameter | type | Description |
---|---|---|
codename | String | Request the Chat-Tonic team. |
accountId | String | Request the Chat-Tonic team (Only whatsapp accounts). |
Request form-data:
Parameter | type | Description |
---|---|---|
upload | File | Upload an XLSX file with the name of the sheet "users", in the following column format: A: FirstName, B: LastName, C: Username, D: Id The other columns can have any name and will be added as extra data in the user's profile. |
title | String | File name |
Upload example:
Response:
Create a new query, return the query
{
"ok": true
}
Â