Base URL
All API requests should be made to:API Architecture
Authentication
The Agentflare API uses bearer token authentication. Include your API key in the Authorization header:Rate Limiting
API requests are rate limited to ensure fair usage:- Free tier: 60 requests per minute
- Pro tier: 600 requests per minute
- Enterprise: Custom limits
Response Format
All API responses follow a consistent JSON structure:Success Response
Error Response
Status Codes
Status Code | Description |
---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Too Many Requests |
500 | Internal Server Error |
Pagination
List endpoints support pagination usingpage
and limit
parameters:
Webhooks
Configure webhooks to receive real-time notifications:- Go to Dashboard → Settings → Webhooks
- Add your webhook endpoint URL
- Select events to subscribe to
- Save and verify the webhook