palbaseDocs

Palbase Analytics · API

GET/analytics/people/{person_id}/events

List a person's events

A page of a person's events, newest first: every event under an id they went by — what their apps sent, what their backend sent, and what the platform's modules did for them (a purchase, a push that reached their phone, a consent changed) — and the platform's events about an install of theirs no one was signed in on.

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

Path

person_idstring · requiredThe person, or any id they went by.

Query

limitinteger · optionalRows per page (100 unless said).
cursorstring · optionalThe next_cursor of the page before: reads the page after it.
curl
curl -X GET "https://<your-ref>.palbase.studio/analytics/people/<person_id>/events" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of events

400The request is malformed, or what it sends breaks a limit (the error names which: the SDKs' codes)

401No key, or not a key of this project, or a token that is not valid (the edge's answer)

403Not the project's secret key

429The project is sending analytics faster than its per-second limit (rate_limited), or its quota for the period is used up (quota_exceeded); Retry-After says when to try again

503The platform could not take or answer this now; nothing was kept, and retrying is safe (Retry-After)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListPersonEvents of analytics's contract.