Note: For development/testing purposes only. Request Payload Structure
{
"endpoint": 7,
"method": 1,
"uuid": 1,
"body": {
"count": true
}
}
Response Payload Structure
{
"body": {
"count": 76
},
"endpoint": 7,
"status": 200,
"uuid": 1
}
See: Pagination Request Payload Structure
{
"endpoint": 7,
"method": 1,
"uuid": 123,
"body": {
"offset": 0,
"limit": 2
}
}
Response Payload Structure
{
"body": {
"entries": [
{
"address": "Czeczota 6, 02-600 Warsaw, Poland",
"altName": "Abraham",
"email": "Abraham@example.com",
"blocked": false,
"favourite": true,
"ice": true,
"id": 1,
"numbers": [
"123456789"
],
"numbersIDs": [
"1"
],
"speedDial": "",
"priName": "Olivia",
"note": ""
},
{
"address": "Czeczota 6, 02-600 Warsaw, Poland",
"altName": "Alsop",
"email": "Alsop@example.com",
"blocked": false,
"favourite": true,
"ice": true,
"id": 3,
"numbers": [
"123456789"
],
"numbersIDs": [
"1"
],
"speedDial": "7",
"priName": "Charles",
"note": ""
}
],
"totalCount": 76
},
"endpoint": 7,
"status": 200,
"uuid": 123
}
Parameters:
Note: For development/testing purposes only. Request Payload Structure
{
"endpoint": 7,
"method": 1,
"uuid": 1,
"body": {
"id": 5
}
}
Response Payload Structure
{
"body": {
"address": "Czeczota 6, 02-600 Warsaw, Poland",
"altName": "Arnold",
"email": "Arnold@example.com",
"blocked": false,
"favourite": false,
"ice": true,
"id": 5,
"numbers": [
"123456789"
],
"numbersIDs": [
"1"
],
"speedDial": "6",
"priName": "Donna",
"note": "likes oranges"
},
"endpoint": 7,
"status": 200,
"uuid": 1
}
Request Payload Structure
{
"endpoint": 7,
"method": 2,
"uuid": 123,
"body": {
"address": "Czeczota 6, 02-600 Warsaw, Poland",
"altName": "Turk",
"email": "Turk@example.com",
"blocked": false,
"favourite": true,
"ice": false,
"numbers": [
"123456789"
],
"speedDial": "",
"priName": "Tolek",
"note": "has a cat"
}
}
Response Payload Structure when contact is successfully added
{
"body": {
"id": 77
},
"endpoint": 7,
"status": 200,
"uuid": 123
}
Parameters:
Response Payload Structure when contact is matched as a duplicate
{
"body": {
"duplicatedNumbers": [
"123456789"
]
},
"endpoint": 7,
"status": 409,
"uuid": 123
}
Parameters:
Request Payload Structure
{
"endpoint": 7,
"method": 3,
"uuid": 123,
"body": {
"id": 77,
"address": "Czeczota 6, 02-600 Warsaw, Poland",
"altName": "Turk",
"email": "Turk@example.com",
"blocked": false,
"favourite": true,
"ice": false,
"numbers": [
"123456789"
],
"speedDial": "",
"priName": "Tolek",
"note": "has a cat"
}
}
Response Payload Structure when contact is successfully updated
{
"endpoint": 7,
"status": 204,
"uuid": 123
}
Warning: In the current implementation, there is no duplicate detection while updating contact. Example: We have contact A with number 123 and contact B with number 456. Contact A is updated with a new number - 456. Number 456 is silently unattached from contact B and assigned to contact A. Finally, we have contact A with number 456 and contact B with no number.
Request Payload Structure
{
"endpoint": 7,
"method": 4,
"uuid": 1,
"body": {
"id": 77
}
}
Response Payload Structure
{
"endpoint": 7,
"status": 204,
"uuid": 1
}