API Trigger
Execute workflows via REST API.
Endpoint
POST https://workflow.ubex.ai/api/v1/execute
Authentication
Use API keys to authenticate requests. Create and manage API keys from the workflow settings.
Authorization: Bearer YOUR_API_KEY
Request Body
{
"workflow_id": "your-workflow-id",
"inputs": {
"prompt": "Your input text",
"custom_var": "Custom value"
}
}
Response
{
"success": true,
"execution_id": "exec_123",
"output": {
"result": "Workflow output..."
}
}