Readiness and enrollment
The TrueAge card
Drop the card into your participant site. Your server fetches the result and hands it to the card, so no TrueAge API key reaches the browser. This is the real card, showing a sandbox participant:
On your site the button opens TrueAge. Here it does nothing.
Technical notes · The TrueAge card
<trueage-card> is a web component that draws a summary on your participant site: the TrueAge age, how it compares with the goal, projected monthly income, and a button into TrueAge. It makes no requests of its own.Embed the TrueAge card covers its attributes, its event and every state.
What a result tells you
- TrueAge
- The age a participant's savings are on pace to fund their retirement goals, against their goal age.
- Status
- Ahead, on track, behind or out of reach, as returned. Show it; don't work it out from the ages or the index.
- Estimate
Leave out data and TrueAge fills in a default, so the card marks the TrueAge with an asterisk.
missing_inputslists what to send; the next result clears it.Field Listed when annual_compensationNo pay. There is no TrueAge to show, so the card says it isn't available yet. contributionNo deferral election. A deferral of 0 counts as sent. genderNot sent. Ucounts as sent.stateNo address state. employer_match_tierThe plan has no match tiers and its plan_provisiondoesn't sayemployer_match_offered: false. Send the tiers, oremployer_match_offered: falsefor a plan with no match.- Monthly income
- Projected from retirement accounts, in a weak, typical and strong market.
Reading a result returns what's stored and never starts a calculation. TrueAge recalculates on its own when the data you send changes. A retired participant's result is frozen at retirement.
Technical notes · What a result tells you
- GET /participants/{rk_participant_id}/readiness returns the latest stored result, using your participant id.
statuscompleted: a result is stored and the numbers are filled in.pending: a calculation is queued or running, and none is stored yet.failed: the latest calculation failed, and none is stored.not_available: there is no result, or you didn't sendannual_compensation, so TrueAge can't work one out.- The numbers are
nullunlessstatusiscompleted. Income is monthly dollars from retirement accounts, in a low, median and high market. retirement_statusisahead,on_track,behindorout_of_reach.on_trackmeansretirement_indexis 100%, to within 0.01. Above that isahead, below isbehind.out_of_reachmeans the projection ran and no retirement age reaches the goal.true_ageisnullandstatusis stillcompleted, withretirement_index,goal_retirement_ageand income still sent. Show it as out of reach, not as a number.- Show
retirement_status; don't work it out from the ages or the index. missing_inputsis on acompletedresult, and on anot_availableone whenannual_compensationis missing. It lists the data you didn't send, which TrueAge filled with a default, so the TrueAge is an estimate. Empty means all five were sent. Without pay, TrueAge can't work out a result, so the status isnot_available, the numbers arenulland the list still names what to send.trueagesays whether the participant has signed in to TrueAge, with the date of their first sign-in.managed_accountsays whether they are enrolled in a managed account in any of your plans, with the earliestenrolled_date. Dates areYYYY-MM-DDin Mountain Time. Both are on every result. Enrollment has the detail by plan.- Another partner's participant, or one TrueAge doesn't know, is
404 NOT_FOUND.
Sign participants in to TrueAge
Sign-in starts from your site: your identity provider signs the participant in and TrueAge opens their overview. Either way, use a new tab or a top-level navigation: TrueAge refuses to be framed.
Keep your copy up to date
On a schedule, ask for every result that changed since your last check, and save the newest. A person can appear twice if they were recalculated while you were reading; keep the newer one.
Technical notes · Keep your copy up to date
- GET /participants?updated_since=… returns the summaries of your participants whose result changed strictly after
updated_since(ISO 8601 with an offset, such as2026-10-01T00:00:00Z), oldest change first. Pages hold up tolimitresults (default 100, at most 500). - Start from the largest
calculated_atyou have stored. On your first run, use any date before your first import. - Follow
next_cursoruntil it isnull. A page can hold fewer thanlimitresults whilenext_cursoris still set, so checknext_cursor, not the page size. - Upsert by
rk_participant_id, keeping the newercalculated_at: a participant recalculated while you page can appear twice. - Store the largest
calculated_atyou saw as the next run'supdated_since.
Enrollment
Ask whether a participant has signed in to TrueAge, and whether they are enrolled in its managed account plan by plan, so your site can show both. For a cache, ask for what changed since your last check.
Technical notes · Enrollment
- GET /participants/{rk_participant_id}/enrollment returns two things. It needs the
enrollment.readscope, which a Read-only key carries. trueage.enrolledistrueonce the participant has signed in to TrueAge at least once.trueage.enrolled_dateis their first sign-in.managed_account.planshas one entry per plan you send TrueAge for the participant.statusisenrolled,not_enrolled,opted_outorseparated.enrolledistrueonly whenstatusisenrolled.- A participant who has started but not finished enrolling is
not_enrolled. - A plan with no enrollment is
not_enrolled, and its dates andupdated_atarenull. enrolled_dateandopted_out_dateareYYYY-MM-DDin Mountain Time.updated_atis an ISO 8601 date-time.- GET /enrollments?updated_since=… returns the same entry for each participant whose first sign-in or managed-account enrollment changed strictly after
updated_since, oldest change first, underenrollments. Paging works as it does for GET /participants: follownext_cursoruntil it isnull. - Another partner's participant, or one TrueAge doesn't know, is
404 NOT_FOUND.
Next: Embed the TrueAge card