Developers
XBuddy exposes a REST API at https://api.xbuddy.co/api/v1. All endpoints require authentication via JWT Bearer token.
In this section
- Authentication — obtain and refresh JWT tokens
- AI Gateway — call XBuddy’s AI capabilities via API
- Changelog — features and changes over time
Base URL
https://api.xbuddy.co/api/v1Rate limits
| Plan | Requests/minute |
|---|---|
| Starter | 60 |
| Growth | 200 |
| Professional | 600 |
| Enterprise | Custom |
Response format
All responses follow this structure:
{
"success": true,
"data": { ... },
"message": "Operation completed"
}Paginated responses:
{
"success": true,
"data": [ ... ],
"pagination": {
"page": 1,
"limit": 50,
"total": 243,
"pages": 5
}
}Error responses
{
"success": false,
"error": "Unauthorized",
"statusCode": 401
}Common status codes:
200— OK201— Created400— Bad Request (validation error)401— Unauthorized403— Forbidden (quota exceeded or module not active)404— Not Found429— Rate limit exceeded