Skip to main content
GET
/
agent
List all agents
curl --request GET \
  --url https://api.iwy.ai/v1/agent \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Customer Service Bot"
  },
  {
    "id": "550e8400-e29b-41d4-a716-446655440001",
    "name": "Sales Assistant"
  }
]

Authorizations

Authorization
string
header
required

Your iwy Service API Key. Find it at app.iwy.ai/settings.

Include it in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Response

Successfully retrieved list of agents

id
string<uuid>
required

Unique identifier for the agent

Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string
required

Human-readable name of the agent

Example:

"Customer Service Bot"