curl --request GET \
--url https://prod.featherhq.com/api/v1/agents \
--header 'X-API-Key: <api-key>'
{
"agents": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inboundPhoneNumbers": [
{
"id": "<string>"
}
],
"outboundPhoneNumbers": [
{
"id": "<string>"
}
],
"cekuraAgentId": 123,
"cekuraPhoneNumberId": "<string>"
}
],
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}
List all agents with cursor-based pagination
curl --request GET \
--url https://prod.featherhq.com/api/v1/agents \
--header 'X-API-Key: <api-key>'
{
"agents": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inboundPhoneNumbers": [
{
"id": "<string>"
}
],
"outboundPhoneNumbers": [
{
"id": "<string>"
}
],
"cekuraAgentId": 123,
"cekuraPhoneNumberId": "<string>"
}
],
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}
List of agents retrieved successfully
The response is of type object
.