Skip to main content
GET
Error

Autorizações

Authorization
string
header
obrigatório

A contact session token, uk_ct_…. Belongs to one of the developer's own users, and reads only that user's data.

Resposta

The standing.

balance
integer

The sum of their ledger. Zero for somebody who has earned nothing, and for an anonymous session.

level
object | null

The rung they are on, or null. null is the ordinary case rather than an error — most environments define no levels — and it must not be rendered as level zero.

next_level
object | null

The lowest rung above the current one that is not yet satisfied, or null at the top, with requirements saying what it is waiting for.

points_to_next
integer | null

The POINTS gap to next_level, and zero when the next rung asks nothing about points. Kept for widgets built before metrics existed; next_level.requirements is what a bar should be drawn from now.

achievements
object[]

The shelf: every active badge that is not hidden, plus any hidden one they hold. Earned first, then the ones still to earn.

metrics
object[]

What this person has of each tally the environment counts, including the ones at zero — the badge shelf's own rule: a widget drawing "0 of 4 courses" is showing somebody a goal, while an absent key looks like a bug.