API Docs
The API Docs section provides auto-generated documentation for all deployed workflows in your project. It allows you to:- View live API endpoints
- See required request parameters
- Copy ready-to-use integration code
- Inspect example responses
What Are API Docs?
API Docs are generated automatically from your deployed workflows. For each deployed workflow, DotPortion creates:- A public API endpoint
- Request schema (params, headers, body)
- Authentication requirements
- Code snippets for common languages
- Example responses
API List View
🔗 Deployed APIs (UI Reference)
This view shows:
- Workflow name
- HTTP method
- API path
- Deployment status
API Endpoint Details
🌐 API Endpoint Details (UI Reference)
Each API includes:
- Full API URL
- HTTP Method
- Endpoint Path
Example
Required Parameters
🧾 Request Parameters (UI Reference)API Docs clearly show what inputs are required.
Supported Parameter Types
- Path parameters
- Query parameters
- Headers
- Request body
- Name
- Type
- Required / optional status
- Description (if provided)
Authentication Requirements
If the workflow requires authentication, API Docs indicate:- Auth type (e.g. API Key, JWT)
- Required headers
- Token format
Integration Code Snippets
🧩 Integration Snippets (UI Reference)DotPortion provides ready-to-use code snippets for common platforms.
Example (JavaScript – Fetch)
Example (cURL)
Response Examples
📦 Response Preview (UI Reference)Each API includes a sample response generated from the workflow’s Response Node.
Example
- Response structure
- Field names
- Data types
- Success and error formats
Live Testing (Optional)
If enabled, API Docs may allow:- Sending test requests
- Viewing live responses
- Validating integrations quickly
How API Docs Stay in Sync
- Docs update automatically on redeploy
- Parameter changes reflect instantly
- Response examples follow workflow logic
- Versioned workflows generate versioned APIs
Best Practices
- Always redeploy after workflow changes
- Review API Docs before sharing endpoints
- Use API Docs as the source of truth
- Share docs with frontend and integration teams
Important Notes
- Only deployed workflows appear in API Docs
- Undeployed changes are not reflected
- API URLs are project-scoped
- Authentication rules apply exactly as configured
Summary
| Feature | Supported |
|---|---|
| API URL | Yes |
| Request parameters | Yes |
| Auth requirements | Yes |
| Code snippets | Yes |
| Response examples | Yes |