Import contacts from file
Imports contacts from json file
- Maximum available contacts to add is 300
- multipart/form-data
Request Body required
- file binary
Responses
- 200
- 400
- 401
Returns importing process status
There is one response types:
- OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- status string
Possible values: [
OK
] - records integer
number of imported records
{
"status": "OK",
"records": 0
}
{
"status": "OK",
"records": 0
}
File error - Wrong file - Max amount of contacts reached - Importing troubles
- application/json
- Schema
- Example (from schema)
- Wrong File
- Max
Schema
- error string
{
"error": "Wrong JSON body"
}
{
"error": "Wrong file"
}
{
"error": "Max amount of contacts reached"
}
Unauthorized request. Log In
Loading...