List contacts
Get all your contacts in paginate format.
POST/contacts/list
Parameters
items_for_page - intger required
Total of returned items.
page - intger required
Number of the page relatievly of the items_for_page
.
enterprise_id - intger optional
For only get the contacts from specific enterprise.
Example
{
"items_for_page": 5,
"page": 1
}
Response
status 200
The response contains the pagination data and the contact objects are inside in the data
property.
Response
{
"total": 6,
"per_page": 5,
"current_page": 1,
"last_page": 2,
"from": 1,
"to": 5,
"data":
[
{
"id": 1,
"name": "Salesly",
"surname": "Worker",
"surname_2": null,
"email": "worker@salesly.app",
"phone": "938206362",
"phone_2": null,
"position": null,
"skype": null,
"linkedin": null,
"comments": null,
"gender": 0,
"mailchimp_unsubscribed": null
}
{"id" : 2 ...},
{"id" : 3 ...}
{"id" : 4 ...}
{"id" : 5 ...}
]
}