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
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}
Loading...