API Reference
Comprehensive documentation for the Autoflowly API, enabling you to integrate AI agents into your applications and automate your startup workflows.
API Overview
Introduction to the Autoflowly API, authentication, rate limits, and getting started guide.
Authentication
Learn how to authenticate API requests using OAuth 2.0 and manage access tokens.
Endpoints Reference
Complete reference for all API endpoints, including request/response examples.
SDKs & Libraries
Official SDKs and client libraries for popular programming languages.
Quick Start
Get Started in 3 Steps
Generate an API key from your dashboard settings
Send a test request to verify your setup
Start conversations with CTO, CMO, and CFO agents
Example Request
curl -X POST https://api.autoflowly.com/v1/agents/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent": "cto",
"message": "What tech stack should I use for a B2B SaaS?"
}'
Core API Features
🤖 Agent Conversations
Programmatically chat with AI agents to get technical, marketing, and financial guidance.
📊 Project Management
Create and manage projects, track progress, and collaborate with your AI team.
🔄 Webhooks
Receive real-time notifications for agent responses and project updates.
📈 Analytics
Access metrics, insights, and reports through our comprehensive analytics API.
Available Endpoints
Agent APIs
- POST
/v1/agents/chat- Start or continue a conversation - GET
/v1/agents/conversations- List all conversations - GET
/v1/agents/conversations/{id}- Get conversation details - DELETE
/v1/agents/conversations/{id}- Delete a conversation
Project APIs
- POST
/v1/projects- Create a new project - GET
/v1/projects- List all projects - GET
/v1/projects/{id}- Get project details - PUT
/v1/projects/{id}- Update project - DELETE
/v1/projects/{id}- Delete project
User APIs
- GET
/v1/user/profile- Get user profile - PUT
/v1/user/profile- Update profile - GET
/v1/user/usage- Get usage statistics
Authentication
All API requests require authentication using Bearer tokens:
const response = await fetch('https://api.autoflowly.com/v1/agents/chat', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
agent: 'cmo',
message: 'How should I approach content marketing?'
})
});
Rate Limits
API Rate Limits by Plan:
- Free: 100 requests/hour
- Starter: 1,000 requests/hour
- Professional: 10,000 requests/hour
- Enterprise: Custom limits
Error Handling
The API uses standard HTTP response codes:
{
"error": {
"code": "rate_limit_exceeded",
"message": "You have exceeded your rate limit",
"details": {
"limit": 100,
"reset_at": "2024-01-20T15:00:00Z"
}
}
}
SDKs & Libraries
Official SDKs make integration easier:
Need Help?
Ready to Build with Our API?
Get your API key and start integrating AI agents into your applications.