Authentication
Secure your API requests with API keys.
Creating API Keys
- Open your workflow settings
- Navigate to the API tab
- Click Generate API Key
- Copy and store the key securely
Warning: API keys are shown only once. Store them in a secure location.
Using API Keys
Include the key in the Authorization header:
curl -X POST https://workflow.ubex.ai/api/v1/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"workflow_id": "...", "inputs": {}}'
Key Permissions
| Permission | Description |
|---|---|
execute |
Run workflows |
read |
View workflow details |
write |
Modify workflows |
Revoking Keys
To revoke an API key:
- Go to workflow settings → API
- Find the key in the list
- Click Revoke
The key is immediately invalidated.