boolkyApiIntegrationsDesc
addContactsDesc
{
"content": [
{
"name": "Emma Smith",
"phone": "+12508682818",
"birthday": "13-04-1993",
"gender": 1,
"mail": "[email protected]"
},
{
"name": "Olivia Munn",
"phone": "+17784845095",
"birthday": "13-04-1993",
"gender": 1,
"mail": "[email protected]"
},
{
"name": "Ava Gardner",
"phone": "+12508079925",
"birthday": "13-04-1993",
"gender": 1,
"mail": "[email protected]"
},
{
"name": "Isabella Rossellini",
"phone": "+12507129905",
"birthday": "13-04-1993",
"gender": 1,
"mail": "[email protected]"
}
],
"groupIds": [
1,
2,
3
]
}
variable | type | validation | required | info |
---|---|---|---|---|
name | string | Min 1, Max 50 characters | true | Contact Name |
phone | string | Min 1 Number | true | Contact phone number |
birthDay | dateString | null | false | Contact birth day |
gender | integer | null | false | Contact gender male - 1, female - 2 |
null | false | Contact email address | ||
groupIds | int[] | null | false | Group Ids - for example [1,2,3] |
addContactResponseFields
name, phone, groupIds, notValid, gender, mail
{
"result": {
"data": [
{
"id": 5817760,
"name": "Emma Smith",
"phone": "+12508682818",
"groupIds": [
0,
1,
2,
3
],
"notValid": false,
"gender": 1,
"mail": "[email protected]"
},
{
"id": 5817761,
"name": "Olivia Munn",
"phone": "+17784845095",
"groupIds": [
586
],
"notValid": true,
"gender": 1,
"mail": "[email protected]"
},
{
"id": 5817762,
"name": "Ava Gardner",
"phone": "+12508079925",
"groupIds": [
0,
1,
2,
3
],
"notValid": false,
"gender": 1,
"mail": "[email protected]"
},
{
"id": 5817763,
"name": "Isabella Rossellini",
"phone": "+12507129905",
"groupIds": [
586
],
"notValid": true,
"gender": 1,
"mail": "[email protected]"
}
],
"message": {
"localizedMessage": "Successfully added",
"messageKey": "success"
}
}
}
errorResponseWrongApiKey
{
"error": {
"localizedMessage": "Session expired",
"messageKey": "sessionExpired"
}
}