API Reference
The AI Teammate API allows you to integrate AI agents into your applications. Use our REST API to create agents, send messages, and manage your account programmatically.
Base URL
https://agent.mobiolabs.net/apiQuick Example
POST/api/chat
curl -X POST https://agent.mobiolabs.net/api/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "your-agent-id",
"message": "Hello, how are you?"
}'API Sections
Response Format
All API responses are returned in JSON format. Successful responses include the requested data, while error responses include an error code and message.
Success Response
{
"success": true,
"data": {
"message": "Hello! I'm doing great...",
"agent_id": "abc123",
"tokens_used": 150
}
}Error Response
{
"success": false,
"error": {
"code": "invalid_api_key",
"message": "The API key provided is invalid."
}
}Rate Limits
| Plan | Requests/min | Requests/day |
|---|---|---|
| Free | 10 | 1,000 |
| Pro | 60 | 50,000 |
| Enterprise | Custom | Unlimited |