Profile tools
All tool areas. Each tool acts within your access.
Profile
get_profile
Get who you're signed in as: your name, email, whether two-factor is on, and each organization you belong to with your roles there (and whether it requires two-factor), and invitations waiting for your answer. current marks the organization your other calls act in.
Reads · Any signed-in person
No input.
Output
idnameemailmcpUrltwoFactorEnabledorganizationsorganizations[]organizations[].idorganizations[].nameorganizations[].slugorganizations[].closedAtorganizations[].purgeAfterorganizations[].timeZoneThe organization's time zone for showing closedAt and purgeAfter; null while it's open
organizations[].currentorganizations[].requireTwoFactorWhether this organization requires two-factor for everyone; while it does, you can't turn yours off
organizations[].rolesorganizations[].roles[]organizations[].roles[].roleorganizations[].roles[].scopeorganizations[].roles[].scopeIdorganizations[].roles[].scopeNameorganizations[].roles[].financialsWhether this role shows order amounts and revenue (where it has them)
organizations[].permissionsWhat you can do in this organization, within this key's or token's limits, for hiding what you can't reach. Each is held at some scope; every call still checks the resource
organizations[].permissions[]invitationsInvitations to your own address still open, oldest first, for accept_invitation or decline_invitation. A session only: a token is bound to one organization, so it gets none
invitations[]invitations[].idinvitations[].organizationNameinvitations[].roleinvitations[].roleLabelinvitations[].scopeNameinvitations[].invitedByNameinvitations[].expiresAt