palbaseDocs

Palbase Journeys · API

GET/journeys

List journeys

The project's journeys, newest first, a page at a time; status narrows them to drafts, live or stopped ones.

Called by your server, with the project's secret key.

Query

status"draft" | "live" | "stopped" · optionaldraft, live or stopped
limitinteger · optionalHow many, 1 to 200; 50 unless it says
cursorstring · optionalA page's next_cursor, for the page after it
curl
curl -X GET "https://<your-ref>.palbase.studio/journeys" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of journeys

400The request is malformed: a key, a limit, a cursor or a simulated person is wrong (the error says which)

401No valid credentials

403Not the project's secret key (secret_key_required)

429Too many requests

503The service is unavailable for a moment; retry

defaultAn error

Operation ListJourneys of journeys's contract.