curl --request GET \
--url https://supmaya.com/api/v1/contacts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}Returns a paginated list of contacts for the authenticated company.
curl --request GET \
--url https://supmaya.com/api/v1/contacts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Results page
x >= 1Paginated contacts