curl --request GET \
--url https://supmaya.com/api/v1/agents \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"name": "<string>",
"questions": "<string>",
"knowledge_base": "<string>",
"booking_link": "<string>",
"webhook_url": "<string>",
"webhook_zapier": "<string>",
"show_heading": true,
"active": true,
"customisation": {},
"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 agents for the authenticated company.
curl --request GET \
--url https://supmaya.com/api/v1/agents \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 123,
"name": "<string>",
"questions": "<string>",
"knowledge_base": "<string>",
"booking_link": "<string>",
"webhook_url": "<string>",
"webhook_zapier": "<string>",
"show_heading": true,
"active": true,
"customisation": {},
"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 agents response
Show child attributes