palbaseDocs

Palbase Journeys · API

GET/journeys/{key}/runs

A journey's runs

The people's runs through a journey, newest first, a page at a time, each with the steps it took and what came of them; user_id and state narrow them.

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

Path

keystring · requiredThe journey's key

Query

user_idstring · optionalOne person's runs
state"held" | "active" | "waiting" | "ended" · optionalheld, active, waiting or ended
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/<key>/runs" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of runs

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)

404The project has no journey of this key (journey_not_found)

429Too many requests

503The service is unavailable for a moment; retry

defaultAn error

Operation ListJourneyRuns of journeys's contract.