{"info":{"_postman_id":"6b0f4c5e-3a1d-4e87-9c52-7d1e8a4b2f60","name":"TrueAge Recordkeeper API","description":"The recordkeeper API, generated from its OpenAPI document. Guides and reference: https://developers.trueageretirement.com. Put the API key your TrueAge contact gave you in this collection's apiKey variable (Current value).","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{apiKey}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://my.trueageretirement.com/api/rk/v1","type":"string"},{"key":"apiKey","value":"","type":"secret"},{"key":"rkParticipantId","value":"","type":"string"}],"item":[{"name":"Credentials","item":[{"name":"Check credentials","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/credentials","host":["{{baseUrl}}"],"path":["credentials"]},"description":"Which integration these credentials resolve to.\n\nReference: https://developers.trueageretirement.com/reference/check-credentials"},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('200 OK', () => pm.response.to.have.status(200));"]}}]}]},{"name":"Readiness","item":[{"name":"List changed summaries","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/participants?updated_since=2000-01-01T00:00:00Z","host":["{{baseUrl}}"],"path":["participants"],"query":[{"key":"updated_since","value":"2000-01-01T00:00:00Z"},{"key":"cursor","value":"","disabled":true},{"key":"limit","value":"100","disabled":true}]},"description":"Readiness summaries changed since a time, for caching widgets.\n\nSummaries of this partner's participants whose latest result was stored after updated_since, oldest change first. Read-only: these are the stored results of the last calculation, and a call never starts one. Show the summary on your own site, then link the participant into TrueAge with sign_in_url (null when your partner has no sign-in configured), in a new tab or by top-level navigation: TrueAge refuses to be framed (frame-ancestors 'none'). A retired participant's result is frozen at retirement.\n\nReference: https://developers.trueageretirement.com/reference/list-changed-summaries"},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('200 OK', () => pm.response.to.have.status(200));","if (pm.response.code !== 200) { return; }","const items = pm.response.json().data.participants;","const first = items[0];","pm.collectionVariables.set('rkParticipantId', first === undefined ? '' : first.rk_participant_id);"]}}]},{"name":"Retrieve a readiness summary","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/participants/{{rkParticipantId}}/readiness","host":["{{baseUrl}}"],"path":["participants","{{rkParticipantId}}","readiness"]},"description":"The latest stored TrueAge result for one participant.\n\nRead-only: these are the stored results of the last calculation, and a call never starts one. Show the summary on your own site, then link the participant into TrueAge with sign_in_url (null when your partner has no sign-in configured), in a new tab or by top-level navigation: TrueAge refuses to be framed (frame-ancestors 'none'). A retired participant's result is frozen at retirement.\n\nReference: https://developers.trueageretirement.com/reference/retrieve-a-readiness-summary"},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (!pm.collectionVariables.get('rkParticipantId')) { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('200 OK', () => pm.response.to.have.status(200));"]}}]}]},{"name":"Enrollment","item":[{"name":"List changed enrollments","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/enrollments?updated_since=2000-01-01T00:00:00Z","host":["{{baseUrl}}"],"path":["enrollments"],"query":[{"key":"updated_since","value":"2000-01-01T00:00:00Z"},{"key":"cursor","value":"","disabled":true},{"key":"limit","value":"100","disabled":true}]},"description":"Enrollments changed since a time, for caching.\n\nParticipants whose first sign-in or managed-account enrollment changed after updated_since, oldest change first. Two flags. trueage: whether the participant has signed in to TrueAge at least once, and the date of their first sign-in. managed_account: whether they are enrolled in TrueAge's managed account, in each plan you reach. A managed-account status is enrolled, not_enrolled, opted_out or separated; a plan with no enrollment is not_enrolled, with null dates. Dates are YYYY-MM-DD in Mountain Time; updated_at is an ISO 8601 date-time.\n\nReference: https://developers.trueageretirement.com/reference/list-changed-enrollments"},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('200 OK', () => pm.response.to.have.status(200));"]}}]},{"name":"Retrieve an enrollment","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/participants/{{rkParticipantId}}/enrollment","host":["{{baseUrl}}"],"path":["participants","{{rkParticipantId}}","enrollment"]},"description":"A participant's enrollment in TrueAge and in a managed account.\n\nTwo flags. trueage: whether the participant has signed in to TrueAge at least once, and the date of their first sign-in. managed_account: whether they are enrolled in TrueAge's managed account, in each plan you reach. A managed-account status is enrolled, not_enrolled, opted_out or separated; a plan with no enrollment is not_enrolled, with null dates. Dates are YYYY-MM-DD in Mountain Time; updated_at is an ISO 8601 date-time.\n\nReference: https://developers.trueageretirement.com/reference/retrieve-an-enrollment"},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (!pm.collectionVariables.get('rkParticipantId')) { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('200 OK', () => pm.response.to.have.status(200));"]}}]}]}]}