List folders
list agent folders.
GET
https://api.centerfy.ai/webhooks/inbound/agent-folders Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Authenticates the request; or use Authorization: Bearer <key>. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/agent-folders" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.agentFolders.list();
console.log(result); centerfy agentFolders list MCP tool: centerfy_agent_folders_list (see MCP server)
Response
{
"status": "success",
"folder_count": 2,
"folders": [
{
"id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"name": "Sales Agents",
"color": "#3b82f6",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-10T12:30:00.000Z"
},
{
"id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
"name": "Support Agents",
"color": "#10b981",
"created_at": "2026-05-02T11:00:00.000Z",
"updated_at": null
}
]
}Errors
401— if unauthenticated; 500 on server error.
Notes
Read-only. Folders are returned ordered oldest first.