Skip to main content
GET
/
api
/
v1
/
flows
List all flows
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Query Parameters

project_id
string

Project ID (uses default if not specified)

limit
integer

Limit

offset
integer

Offset

Response

List of flows

List of flows

flows
object[]