API-Trigger
Workflows über REST API ausführen.
Endpoint
POST https://workflow.ubex.ai/api/v1/execute
Authentifizierung
Verwenden Sie API-Schlüssel zur Authentifizierung von Anfragen. Erstellen und verwalten Sie API-Schlüssel in den Workflow-Einstellungen.
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..."
}
}