Skip to main content
GET
/
webhooks
/
{webhook_id}
/
agents
Python
import requests

webhook_id = "your-webhook-id"
response = requests.get(
    f"https://api.roe-ai.com/webhooks/{webhook_id}/agents/",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)
agents = response.json()
for agent in agents:
    print(f"Agent: {agent['agent_name']}")
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agent_name": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhook_id
string<uuid>
required

Response

200 - application/json
id
string<uuid>
required
agent_id
string<uuid>
required
agent_name
string | null
required