Contact Groups
Get Contact Group
API Documentation
Automated Replies
Contact Groups
Get Contact Group
GET
/
api
/
contact-groups
curl --request GET \
--url https://swiftchats.axis96.xyz/api/contact-groups \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 1,
"uuid": "c7c1ba3f-4abf-4516-9e2b-10b03a957254",
"organization_id": 7,
"name": "Leads1",
"created_by": 5,
"created_at": "2024-04-06T14:07:22.000000Z",
"updated_at": "2024-04-06T19:59:50.000000Z",
"deleted_at": null
},
{
"id": 3,
"uuid": "37a4ce08-6f2a-4cb2-bd2d-e724ce1508ed",
"organization_id": 7,
"name": "Lead 3",
"created_by": 0,
"created_at": "2024-04-09T10:53:36.000000Z",
"updated_at": "2024-04-09T10:53:36.000000Z",
"deleted_at": null
},
{
"id": 5,
"uuid": "2dc450a8-329a-47e0-82ed-66cdf1e8730f",
"organization_id": 7,
"name": "Lead 4",
"created_by": 0,
"created_at": "2024-04-09T13:32:24.000000Z",
"updated_at": "2024-04-09T13:32:24.000000Z",
"deleted_at": null
}
],
"links": {
"first": "http://whatsappsender.test/api/contact-groups?page=1",
"last": "http://whatsappsender.test/api/contact-groups?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://whatsappsender.test/api/contact-groups?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://whatsappsender.test/api/contact-groups",
"per_page": 10,
"to": 3,
"total": 3
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
OK
The response is of type object
.
curl --request GET \
--url https://swiftchats.axis96.xyz/api/contact-groups \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 1,
"uuid": "c7c1ba3f-4abf-4516-9e2b-10b03a957254",
"organization_id": 7,
"name": "Leads1",
"created_by": 5,
"created_at": "2024-04-06T14:07:22.000000Z",
"updated_at": "2024-04-06T19:59:50.000000Z",
"deleted_at": null
},
{
"id": 3,
"uuid": "37a4ce08-6f2a-4cb2-bd2d-e724ce1508ed",
"organization_id": 7,
"name": "Lead 3",
"created_by": 0,
"created_at": "2024-04-09T10:53:36.000000Z",
"updated_at": "2024-04-09T10:53:36.000000Z",
"deleted_at": null
},
{
"id": 5,
"uuid": "2dc450a8-329a-47e0-82ed-66cdf1e8730f",
"organization_id": 7,
"name": "Lead 4",
"created_by": 0,
"created_at": "2024-04-09T13:32:24.000000Z",
"updated_at": "2024-04-09T13:32:24.000000Z",
"deleted_at": null
}
],
"links": {
"first": "http://whatsappsender.test/api/contact-groups?page=1",
"last": "http://whatsappsender.test/api/contact-groups?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://whatsappsender.test/api/contact-groups?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://whatsappsender.test/api/contact-groups",
"per_page": 10,
"to": 3,
"total": 3
}
}