List journeys (Preview)
Preview · Available to selected organizations. Returns the organization's journeys, newest first, optionally filtered by status. Pass nextCursor back as cursor for the next page.
Returns the organization's journeys, newest first, optionally filtered by status. Pass nextCursor back as cursor for the next page.
apiKeyx-api-key<token>status?string"draft""active""paused""archived"limit?|nullcursor?stringJourneyPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.journeys.list({});{ "items": [ { "id": "string", "name": "string", "status": "draft", "publishedVersion": -9007199254740991, "publishedAt": "string", "createdAt": "string", "updatedAt": "string" } ], "nextCursor": "string"}Related documentation
Get a published journey version (Preview)
Preview · Available to selected organizations. Returns the immutable definition of one published version. Use this endpoint to get a published journey version through the Samva email API.
List journey runs (Preview)
Preview · Available to selected organizations. Returns a journey's runs, newest first, optionally filtered by status or contact. Pass nextCursor back as cursor for the next page.