API reference
Introduction
Every request needs an API key, sent as a bearer token. New here? Start with the guides, or get an API key.
Base URL
Send every request over HTTPS to https://my.trueageretirement.com/api/rk/v1. Production's base URL is issued at onboarding.
Conventions
- Request and response bodies are JSON. Dates are
YYYY-MM-DD. - Every response has
successand eitherdataorerror. Errors and limits covers the failures. - Lists page with
cursorandlimit; follownext_cursoruntil it isnull.
Access and scopes
A Read-only key carries everything on these pages. GET /credentials returns the scopes your key carries. A call without the scope its endpoint needs answers 403 INSUFFICIENT_SCOPE.
| Scope | Allows | Endpoints |
|---|---|---|
| imports.read | Read import status and errors | GET /credentials |
| readiness.read | Read readiness summaries | GET /participants/{rk_participant_id}/readiness, GET /participants |
| enrollment.read | Read enrollment | GET /participants/{rk_participant_id}/enrollment, GET /enrollments |
Endpoints
Grouped by what they act on. Each has its own page, with fields, request samples in cURL, TypeScript and Python, and every response.
API reference
Readiness
Enrollment
OpenAPI document
The same contract as a machine-readable file: download the OpenAPI document (JSON, OpenAPI 3.1) to generate a client or import it into your tools. For Postman, download the collection, import it, and put your API key in its apiKey variable.