FlowDot API Reference - Developer Documentation
TL;DR - Quick Start:
- Base URL:
https://flowdot.ai/api/mcp/v1 - Authentication: Bearer token in Authorization header
- Get Token: Dashboard → Settings → MCP Tokens
- Format: All requests return JSON responses
The FlowDot API is a RESTful API that lets you integrate workflows, custom nodes, and apps into your own applications. Use this reference to explore all available endpoints, authentication methods, and error handling.
Authentication
All API requests require a Bearer token. Generate tokens in your dashboard under Settings → MCP Tokens.
Request Header
Authorization: Bearer fd_mcp_xxxxxxxxxxxxx
Example Request
curl -X GET "https://flowdot.ai/api/mcp/v1/workflows" \
-H "Authorization: Bearer fd_mcp_xxxxxxxxxxxxx" \
-H "Content-Type: application/json"
Base URL
All API requests should be made to:
Authentication
Workflows
Executions
Settings & Configuration
Agent Conversations
Teams
Apps
OAuth & SSO
Live Agent
Audio Providers
LLM Providers
Files
Custom Nodes
Agent Toolkits
Knowledge Base
Learn Center
Error Codes
The API uses standard HTTP status codes. Here are common errors you may encounter:
| Status | Code | Description |
|---|---|---|
| 400 | bad_request |
The request was malformed or contains invalid parameters. |
| 401 | unauthorized |
Authentication is required but was not provided or is invalid. |
| 401 | invalid_credentials |
The email or password provided is incorrect. |
| 403 | forbidden |
You do not have permission to access this resource. |
| 404 | not_found |
The requested resource does not exist. |
| 410 | token_expired |
The authentication token has expired. |
| 422 | validation_error |
The request data failed validation. |
| 429 | rate_limited |
Too many requests. You have exceeded the rate limit. |
| 500 | internal_error |
An unexpected error occurred on the server. |
OpenAPI Specification
Download the OpenAPI 3.0 spec for use with Postman, Insomnia, or code generators.
FlowDot API Capabilities
The FlowDot API provides programmatic access to all core platform features. Here's what you can build:
Workflow Management
- List all workflows in your account
- Get workflow details and configuration
- Execute workflows programmatically
- Clone and duplicate workflows
- Manage workflow visibility (public/private)
Custom Nodes
- Create custom nodes with JavaScript
- Define input and output sockets
- Add configurable properties
- Share nodes publicly or keep private
- Version control for node updates
App Development
- Create React-based frontend apps
- Link apps to backend workflows
- Multi-file app architecture support
- Publish apps to the marketplace
- Clone and customize existing apps
Execution & Monitoring
- View execution history and logs
- Monitor workflow performance metrics
- Stream real-time execution results
- Share execution results publicly
- Create input presets for quick testing
API Best Practices
Follow these guidelines to build robust integrations with the FlowDot API:
Authentication Security
- Store API tokens securely using environment variables
- Never expose tokens in client-side JavaScript code
- Rotate tokens periodically for enhanced security
- Use separate tokens for development and production
- Revoke compromised tokens immediately in the dashboard
Error Handling
- Implement exponential backoff for rate limit (429) errors
- Parse error response bodies for detailed messages
- Log failed requests for debugging purposes
- Handle network timeouts gracefully with retries
- Validate input data before making API calls
Performance Optimization
- Use pagination for large result sets
- Cache workflow data when possible
- Batch multiple operations when available
- Use async execution for long-running workflows
- Monitor API usage to stay within rate limits
Integration Patterns
- Use webhooks for real-time workflow completion notifications
- Implement idempotency for workflow execution requests
- Store workflow IDs instead of duplicating configurations
- Use input presets for repeatable test scenarios
- Version your integration code alongside API updates
SDKs and Developer Tools
FlowDot provides tools to accelerate your API integration:
MCP Server
Connect FlowDot to AI assistants like Claude and Cursor using the Model Context Protocol.
- npm install:
npx @flowdot.ai/mcp-server - Works with Claude Desktop, Cursor IDE
- Execute workflows from AI conversations
OpenAPI Specification
Download the OpenAPI 3.0 spec for client generation and API exploration.
- Compatible with Postman and Insomnia
- Generate client SDKs in any language
- Interactive API documentation
Frequently Asked Questions
What is the FlowDot API base URL?
The FlowDot API base URL is https://flowdot.ai/api/mcp/v1 for all production API requests.
How do I get an API token?
Navigate to your FlowDot Dashboard → Settings → MCP Tokens and click "Generate New Token". Your token will start with fd_mcp_.
What authentication method does the API use?
The FlowDot API uses Bearer token authentication. Include your token in the Authorization header: Authorization: Bearer fd_mcp_xxxxxxxxxxxxx
What are the API rate limits?
Rate limits vary by plan: Free tier allows 60 requests/minute, Pro allows 300 requests/minute, and Enterprise has custom limits. When rate limited, you'll receive a 429 status code.
How do I handle API errors?
The API returns standard HTTP status codes: 400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 429 (Rate Limited), and 500 (Server Error). All error responses include a JSON body with details.
Can I execute workflows via the API?
Yes, use the POST /workflows/{id}/execute endpoint to run any workflow programmatically. You can pass input values and receive execution results synchronously or asynchronously.
Does FlowDot have an MCP integration?
Yes, FlowDot provides a Model Context Protocol (MCP) server that lets AI assistants like Claude execute your workflows. Install with npx @flowdot.ai/mcp-server.