Agent
The agents API lets you retrieve and filter agents in your organization.
Get Agents
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"success": true,
"data": [
{
"id": "5efdcc869b03541646256fec",
"groups": [],
"status": "active",
"firstName": "Test",
"lastName": "Agent",
"email": "test@databeaver.co",
"phone": "08000000000",
"location": [
{
"country": "Nigeria",
"zone": "South West",
"state": "Lagos",
"city": "Lagos"
}
],
"createdAt": "2020-07-02T12:00:40.183Z",
"updatedAt": "2020-07-02T12:00:40.183Z"
},
...
],
"_metadata": {
"total": 1103012,
"perPage": 10,
"pageCount": 110302,
"pageLinks": {
"current": "https://api.databeaver.co/v1/agents?perPage=10&sortOrder=desc&page=1",
"next": "https://api.databeaver.co/v1/agents?perPage=10&sortOrder=desc&page=2"
}
}
}Get Agent by Id
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated
Was this helpful?