Palbase Journeys · API
GET
/journeys/{key}/runsA 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 keyQuery
user_idstring · optionalOne person's runsstate"held" | "active" | "waiting" | "ended" · optionalheld, active, waiting or endedlimitinteger · optionalHow many, 1 to 200; 50 unless it sayscursorstring · optionalA page's next_cursor, for the page after itcurl
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.