Agree to a version of a document, as a signed-in customer: for yourself, or with forPersonId for a child linked to you. Give the name you type, a signature for a document agreed to by drawing, and every answer for a health form. Recorded for good and never changed. Refused for yourself when a parent or guardian agrees for you.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
versionId |
string |
yes |
min length 1, max length 64 |
The version’s id (agv_…), as me.agreements.due gave it |
forPersonId |
string |
|
min length 1, max length 64 |
A child linked to you (per_…); left out: yourself |
typedName |
string |
yes |
min length 1, max length 200 |
The name the person typed beside the box: personal data, never shown to an AI |
signature |
object |
|
|
A drawn signature as strokes in a 1000 by 400 box: personal data |
signature.width |
1000 |
yes |
|
|
signature.height |
400 |
yes |
|
|
signature.strokes |
array of array of array of any |
yes |
at least 1, at most 30 |
|
answers |
array of object |
|
at least 1, at most 40 |
A health form’s answers: health information, never shown to an AI or logged |
answers[].key |
string |
yes |
min length 1, max length 40 |
|
answers[].yes |
boolean |
yes |
|
|
answers[].note |
string |
|
max length 1000 |
|
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
|
|
documentId |
string |
yes |
|
|
versionNumber |
number |
yes |
|
|
acceptedAt |
string |
yes |
|
|
copyTo |
string or null |
yes |
|
The address the copy is emailed to (your sign-in address), or null for none |
What you, as a signed-in customer, and each child linked to you still have to agree to: each due document’s version in effect, to read and agree to with me.agreements.accept. canAgree is false for someone a parent or guardian agrees for. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
people |
array of object |
yes |
|
|
people[].personId |
string |
yes |
|
|
people[].name |
string |
yes |
|
|
people[].self |
boolean |
yes |
|
|
people[].canAgree |
boolean |
yes |
|
False when a parent or guardian agrees for them |
people[].due |
array of object |
yes |
|
|
people[].due[].documentId |
string |
yes |
|
|
people[].due[].kind |
string |
yes |
|
|
people[].due[].title |
string |
yes |
|
|
people[].due[].reason |
"never", "agree_again", "ask_again", "guardian" |
yes |
|
|
people[].due[].version |
object |
yes |
|
|
people[].due[].version.id |
string |
yes |
|
|
people[].due[].version.documentId |
string |
yes |
|
|
people[].due[].version.number |
number |
yes |
|
|
people[].due[].version.kind |
string |
yes |
|
|
people[].due[].version.title |
string |
yes |
|
|
people[].due[].version.body |
any |
yes |
|
|
people[].due[].version.tickLabel |
string |
yes |
|
|
people[].due[].version.questions |
array of object or null |
yes |
|
|
people[].due[].version.questions.key |
string |
yes |
|
|
people[].due[].version.questions.text |
string |
yes |
|
|
people[].due[].version.questions.noteOnYes |
boolean |
yes |
|
|
people[].due[].version.how |
"typed", "drawn" |
yes |
|
|
people[].due[].version.effectiveFrom |
string |
yes |
|
|
people[].due[].version.hash |
string |
yes |
|
|
One of your acceptances, or a linked child’s, as a signed-in customer: the version as you were shown it, a health form’s answers, and the name typed and the signature drawn when you are the one who agreed (another guardian’s are not shown). Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
min length 1, max length 64 |
The acceptance’s id (aga_…) |
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
|
|
documentId |
string |
yes |
|
|
title |
string |
yes |
|
|
kind |
string |
yes |
|
|
versionId |
string |
yes |
|
|
versionNumber |
number |
yes |
|
|
personId |
string or null |
yes |
|
|
by |
"self", "guardian", "guest", "paper" |
yes |
|
|
how |
"typed", "drawn", "paper" |
yes |
|
|
channel |
"web", "app", "paper", "desk" |
yes |
|
|
acceptedAt |
string |
yes |
|
|
agentPersonId |
string or null |
yes |
|
The guardian who agreed for a dependant |
recordedBy |
string or null |
yes |
|
Paper: the staff user who recorded it |
signedOn |
string or null |
yes |
|
Paper: the date on the form |
counts |
boolean |
yes |
|
Whether it is the acceptance that counts for its document now |
version |
object |
yes |
|
|
version.id |
string |
yes |
|
|
version.documentId |
string |
yes |
|
|
version.number |
number |
yes |
|
|
version.kind |
string |
yes |
|
|
version.title |
string |
yes |
|
|
version.body |
any |
yes |
|
|
version.tickLabel |
string |
yes |
|
|
version.questions |
array of object or null |
yes |
|
|
version.questions.key |
string |
yes |
|
|
version.questions.text |
string |
yes |
|
|
version.questions.noteOnYes |
boolean |
yes |
|
|
version.how |
"typed", "drawn" |
yes |
|
|
version.effectiveFrom |
string |
yes |
|
|
version.hash |
string |
yes |
|
|
typedName |
string or null |
yes |
|
|
signature |
object or null |
yes |
|
|
signature.width |
number |
yes |
|
|
signature.height |
number |
yes |
|
|
signature.strokes |
array of array of array of number |
yes |
|
|
answers |
array of object or null |
yes |
|
|
answers.key |
string |
yes |
|
|
answers.yes |
boolean |
yes |
|
|
answers.note |
string |
|
|
|
Your agreements, as a signed-in customer, and those of each child linked to you: every acceptance, newest first, with the document, the version, who agreed and how, and whether it is the one that counts now. me.agreements.get reads one. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
items |
array of object |
yes |
|
|
items[].id |
string |
yes |
|
|
items[].documentId |
string |
yes |
|
|
items[].title |
string |
yes |
|
|
items[].kind |
string |
yes |
|
|
items[].versionId |
string |
yes |
|
|
items[].versionNumber |
number |
yes |
|
|
items[].personId |
string or null |
yes |
|
|
items[].by |
"self", "guardian", "guest", "paper" |
yes |
|
|
items[].how |
"typed", "drawn", "paper" |
yes |
|
|
items[].channel |
"web", "app", "paper", "desk" |
yes |
|
|
items[].acceptedAt |
string |
yes |
|
|
items[].agentPersonId |
string or null |
yes |
|
The guardian who agreed for a dependant |
items[].recordedBy |
string or null |
yes |
|
Paper: the staff user who recorded it |
items[].signedOn |
string or null |
yes |
|
Paper: the date on the form |
items[].counts |
boolean |
yes |
|
Whether it is the acceptance that counts for its document now |
The signed PDF of one of your acceptances, as a signed-in customer, or a linked child’s: the version as you were shown it and the record of who agreed, how and when, with a health form’s answers. The name typed and the signature drawn are in it when you are the one who agreed. Built when asked, never stored. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
acceptanceId |
string |
yes |
min length 1, max length 64 |
The acceptance’s id (aga_…) |
| Field |
Type |
Required |
Limits |
Description |
filename |
string |
yes |
|
The file name to save it as |
document |
object |
yes |
|
What the signed PDF says; the download route draws it |
document.business |
string |
yes |
|
|
document.title |
string |
yes |
|
|
document.versionNumber |
number |
yes |
|
|
document.versionHash |
string |
yes |
|
|
document.body |
object |
yes |
|
|
document.body.blocks |
array of any |
yes |
|
|
document.tickLabel |
string |
yes |
|
|
document.questions |
array of object |
|
|
|
document.questions[].key |
string |
yes |
|
|
document.questions[].text |
string |
yes |
|
|
document.answers |
array of object or "in-app" or "withheld" |
|
|
|
document.answers.key |
string |
yes |
|
|
document.answers.yes |
boolean |
yes |
|
|
document.answers.note |
string |
|
|
|
document.record |
array of object |
|
|
|
document.record[].label |
string |
yes |
|
|
document.record[].value |
string |
yes |
|
|
document.signature |
object |
|
|
|
document.signature.width |
number |
yes |
|
|
document.signature.height |
number |
yes |
|
|
document.signature.strokes |
array of array of array of number |
yes |
|
|
document.acceptanceId |
string |
|
|
|
document.blank |
boolean |
|
|
|
What needs your attention, as a signed-in customer, soonest first: a document to agree to (for you or a child linked to you), a card payment that failed, a payment waiting for you to confirm with your bank, the rest of a deposit to pay, an order you started paying for and did not finish, a pass about to expire with uses left or with none left (yours or a child’s), and a free trial about to end. days is how far ahead it looks for a pass or a trial ending. An item goes once its cause is fixed. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
days |
number |
yes |
|
How many days ahead a pass or trial ending is listed |
items |
array of object |
yes |
|
|
items[].key |
string |
yes |
|
Stable for the same cause: kind, record and Person |
items[].kind |
"agree", "card_failing", "confirm_payment", "balance_due", "finish_paying", "pass_expiring", "pass_used_up", "trial_ending" |
yes |
|
agree: a document to agree to (me.agreements.due has it). card_failing: a card payment for a subscription you pay failed. confirm_payment: a payment waits for you to confirm it with your bank. balance_due: the rest of a deposit to pay. finish_paying: an order holding places you started paying for and did not finish. pass_expiring: a pass about to expire with uses still on it. pass_used_up: a pass with no uses left. trial_ending: a free trial about to end. |
items[].person |
object |
yes |
|
Whose it is: you (self), or a child linked to you |
items[].person.id |
string |
yes |
|
|
items[].person.name |
string |
yes |
|
|
items[].person.self |
boolean |
yes |
|
|
items[].record |
object |
yes |
|
What it is about: an agreement document, a subscription, an order, or a pass by its object |
items[].record.object |
string |
yes |
|
|
items[].record.id |
string |
yes |
|
|
items[].record.title |
string |
yes |
|
|
items[].at |
string or null |
yes |
|
The moment it is about: the version taking effect, the first failed payment, the payment started, the balance due, the held order expiring, the pass or trial ending |
items[].amount |
number or null |
yes |
|
Money due or to be charged, in the currency’s minor unit; null where none |
items[].currency |
string or null |
yes |
|
|
items[].usesLeft |
number or null |
yes |
|
A pass’s uses left; null for other kinds |
Your check-in code, as a signed-in customer: the code to hold up at the gym’s check-in tablet, and one for each child linked to you (by their given name), each changing every 30 seconds. It works only while this sign-in lasts. In the native app it also carries the secret the app makes the code from offline. Made the first time it is asked for on a sign-in.
|
|
| Permission |
records:read |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
codes |
array of object |
yes |
|
|
codes[].givenName |
string or null |
yes |
|
|
codes[].own |
boolean |
yes |
|
|
codes[].payload |
string |
yes |
|
|
codes[].secret |
string or null |
yes |
|
|
refreshAt |
string |
yes |
|
|
algorithm |
object |
yes |
|
|
algorithm.kind |
"totp" |
yes |
|
|
algorithm.hash |
"SHA-1" |
yes |
|
|
algorithm.periodSeconds |
number |
yes |
|
|
algorithm.digits |
number |
yes |
|
|
Delete your customer account and ask for your personal data to be erased. Without confirm it changes nothing and says what will happen: each subscription you pay ends when the period already paid for ends (nothing refunded, nothing more charged), or with a cooling off you asked for; one that cannot be ended that way (an end date set later, or waiting for payment, unpaid or paused) is left for staff and may charge until they end it. Your unpaid orders are cancelled, and your bookings, tickets and other records stay for staff to decide when they erase your data. With confirm: true and the preview’s expect it does that: you are signed out everywhere at once and can no longer sign in, and staff erase your data, or tell you by email why some of it must be kept, by the due date returned. A preview that changed meanwhile is a conflict: ask for it again.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Actors |
human |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
confirm |
boolean |
|
default false |
Delete now, as the preview said |
expect |
string |
|
max length 64 |
The preview’s expect; required with confirm: true |
No fields.
Your family, as a signed-in customer: yourself, the dependants (children) the gym has linked to you, whom you may book for, and the guardians linked to you, each with their name and id. Only live links; the gym’s staff make and end them. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
self |
object |
yes |
|
|
self.personId |
string |
yes |
|
|
self.name |
string |
yes |
|
|
dependants |
array of object |
yes |
|
|
dependants[].personId |
string |
yes |
|
|
dependants[].name |
string |
yes |
|
|
guardians |
array of object |
yes |
|
|
guardians[].personId |
string |
yes |
|
|
guardians[].name |
string |
yes |
|
|
Your own Person, as a signed-in customer: your name, primary email and primary phone, and your account’s sign-in address (signInEmail, the one the emailed code verified, with signInEmailVerified). Link records kept elsewhere to a customer by signInEmail only: primaryEmail is a contact address staff can change. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
|
|
displayName |
string |
yes |
|
|
givenName |
string or null |
yes |
|
|
familyName |
string or null |
yes |
|
|
primaryEmail |
string or null |
yes |
|
|
primaryPhone |
string or null |
yes |
|
|
signInEmail |
string |
yes |
|
The address you sign in with: the one the emailed code verified, lower-cased. Not the Person’s contact email (primaryEmail), which staff can change. The only address to trust when linking records kept elsewhere to this customer. |
signInEmailVerified |
boolean |
yes |
|
Whether signInEmail was verified by an emailed code. True for every signed-in customer. |
Remove your PIN, as a signed-in customer: nobody can then check in as you by name and PIN. Your check-in code and cards still work. Clearing when there is none changes nothing.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
cleared |
boolean |
yes |
|
|
Choose your 4-digit PIN, as a signed-in customer, to check in at the gym’s tablet by typing your full name and the PIN when you do not have your phone. The most common PINs (1234, 0000 and the like) are refused. Setting it again replaces it, and turns it back on after too many wrong tries turned it off.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
pin |
string |
yes |
max length 16 |
4 digits |
| Field |
Type |
Required |
Limits |
Description |
set |
true |
yes |
|
|
The places you are signed in, as a signed-in customer: each session’s id, whether it is a browser or an app on a device (with the device’s name), when it began, when it was last used and when it expires, and which one is this one. Read-only.
|
|
| Permission |
records:read |
| Risk |
read |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
items |
array of object |
yes |
|
|
items[].id |
string |
yes |
|
|
items[].kind |
"browser", "device" |
yes |
|
|
items[].deviceName |
string or null |
yes |
|
|
items[].createdAt |
string |
yes |
|
|
items[].lastActiveAt |
string |
yes |
|
|
items[].expiresAt |
string or null |
yes |
|
|
items[].current |
boolean |
yes |
|
|
Sign out one of your sessions, as a signed-in customer, by its id from me.sessions.list. A session that is not yours is not found.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
min length 1, max length 128 |
Session id from me.sessions.list |
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
|
|
revoked |
true |
yes |
|
|
Sign out of this session, as a signed-in customer. Your other sessions stay signed in (end them with me.sessions.revoke).
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
host-internal (hostInternal); not offered to MCP clients (mcp.expose: false) |
No fields.
| Field |
Type |
Required |
Limits |
Description |
signedOut |
boolean |
yes |
|
|
Change your own name or primary phone, as a signed-in customer. Only the fields you pass change; pass null to clear one. Your email cannot be changed here. Returns your Person.
|
|
| Permission |
records:write |
| Risk |
write |
| Audiences |
customer |
| Also |
not offered to MCP clients (mcp.expose: false) |
| Field |
Type |
Required |
Limits |
Description |
displayName |
string |
|
min length 1, max length 200 |
|
givenName |
string or null |
|
|
|
familyName |
string or null |
|
|
|
primaryPhone |
string or null |
|
|
|
| Field |
Type |
Required |
Limits |
Description |
id |
string |
yes |
|
|
displayName |
string |
yes |
|
|
givenName |
string or null |
yes |
|
|
familyName |
string or null |
yes |
|
|
primaryEmail |
string or null |
yes |
|
|
primaryPhone |
string or null |
yes |
|
|