curl --request GET \
--url https://api.example.com/v1/workflows/{id}{
"data": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"condition_entity": "<string>",
"condition_field": "<string>",
"condition_operator": "<string>",
"condition_value": "<string>",
"action_type": "<string>",
"action_config": {},
"max_triggers_per_day": 123,
"triggers_today": 123,
"last_triggered_at": "<string>",
"auto_disabled_reason": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
}Retrieve a single workflow configuration and its runtime state
curl --request GET \
--url https://api.example.com/v1/workflows/{id}{
"data": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"condition_entity": "<string>",
"condition_field": "<string>",
"condition_operator": "<string>",
"condition_value": "<string>",
"action_type": "<string>",
"action_config": {},
"max_triggers_per_day": 123,
"triggers_today": 123,
"last_triggered_at": "<string>",
"auto_disabled_reason": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
}Authorization: Bearer wbk_your_api_key_here
Show properties
daily_cap_exceeded)X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
curl https://data.leadlex.com/functions/v1/api-gateway/v1/workflows/wf_01HY1 \
-H "Authorization: Bearer wbk_your_api_key_here"
{
"data": {
"id": "wf_01HY1",
"name": "Notify owner on lost deals",
"enabled": true,
"condition_entity": "deal",
"condition_field": "status",
"condition_operator": "changed_to",
"condition_value": "lost",
"action_type": "send_channel_message",
"action_config": {
"channel": "slack",
"recipient": "{{deal.owner.slack_id}}",
"message": "Deal {{deal.name}} was marked lost."
},
"max_triggers_per_day": 100,
"triggers_today": 3,
"last_triggered_at": "2026-04-17T09:31:00Z",
"auto_disabled_reason": null,
"created_at": "2026-03-01T08:00:00Z",
"updated_at": "2026-04-17T09:31:00Z"
}
}
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing read:workflows permission |
| 404 | not_found | Workflow not found |
| 429 | rate_limited | Rate limit exceeded |