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>" } ]
Get all agents that are linked to this webhook. When any of these agents complete a job, the webhook will be triggered.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of linked agents