---
title: "List journeys"
method: GET
path: "/v1/journeys"
tags: ["Journeys"]
---

# List journeys

`GET /v1/journeys`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/journeys`
- Auth: API key in header `x-api-key`

Returns the organization's journeys, newest first, optionally filtered by status. Pass nextCursor back as cursor for the next page.

## Query parameters

- `status` 'draft' | 'active' | 'paused' | 'archived'
- `limit` string, nullable
- `cursor` string

## Response `200`

JourneyPage

- JourneyPage
  - `items` JourneyListItem[], required
    - `id` string, required
    - `name` string, required
    - `status` 'draft' | 'active' | 'paused' | 'archived', required
    - `publishedVersion` integer, nullable, required
    - `publishedAt` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
