curl --request GET \
--url https://api.dualship.run/api/v1/flows \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"flows": [
{
"created_at": "2024-01-15T10:30:00Z",
"description": "Handles user registration and welcome email",
"edges": [
123
],
"id": "550e8400-e29b-41d4-a716-446655440000",
"metadata": [
123
],
"name": "User Registration Flow",
"nodes": [
123
],
"project_id": "550e8400-e29b-41d4-a716-446655440001",
"slug": "user-registration",
"status": "active",
"trigger_config": [
123
],
"trigger_type_id": "550e8400-e29b-41d4-a716-446655440002",
"updated_at": "2024-01-15T10:30:00Z"
}
]
}Get a list of all flows for the project
curl --request GET \
--url https://api.dualship.run/api/v1/flows \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"flows": [
{
"created_at": "2024-01-15T10:30:00Z",
"description": "Handles user registration and welcome email",
"edges": [
123
],
"id": "550e8400-e29b-41d4-a716-446655440000",
"metadata": [
123
],
"name": "User Registration Flow",
"nodes": [
123
],
"project_id": "550e8400-e29b-41d4-a716-446655440001",
"slug": "user-registration",
"status": "active",
"trigger_config": [
123
],
"trigger_type_id": "550e8400-e29b-41d4-a716-446655440002",
"updated_at": "2024-01-15T10:30:00Z"
}
]
}JWT Bearer token authentication
Workspace ID
Project ID (uses default if not specified)
Limit
Offset
List of flows
List of flows
Show child attributes
Was this page helpful?