API reference / Identity and access
Get the caller and their organizations
GET/v1/me
Returns the signed-in person (or the key's organization) and every organization membership with its role and permissions. Use the org_id values it returns as {orgId} in every other call.
When to use it
First call of any integration, and whenever you need to check what a credential can do.
Before you call it
- CredentialAny signed-in member or API key of the organization.
Response 200
Current user, memberships, and session
| Field | What it does |
|---|---|
userUserrequired | No description in the spec yet. |
user.idstring (uuid)required | No description in the spec yet. |
user.emailstringrequired | No description in the spec yet. |
user.first_namestringrequired | No description in the spec yet. |
user.last_namestringrequired | No description in the spec yet. |
membershipsMembershipSummary[]required | No description in the spec yet. |
memberships[].org_idstring (uuid)required | No description in the spec yet. |
memberships[].org_namestringrequired | No description in the spec yet. |
memberships[].org_typeenumrequired | No description in the spec yet. One of |
memberships[].org_statusenumrequired | No description in the spec yet. One of |
memberships[].role_keystringrequired | No description in the spec yet. |
memberships[].role_namestringrequired | No description in the spec yet. |
memberships[].permissionsstring[]required | No description in the spec yet. |
memberships[].platform_namestring | The platform partner this organization banks through, if any |
sessionSessionInforequired | No description in the spec yet. |
session.aalenumrequired | No description in the spec yet. One of |
session.authenticated_atstring (date-time)required | No description in the spec yet. |
session.impersonationImpersonationInfo | No description in the spec yet. |
session.impersonation.session_idstring (uuid)required | No description in the spec yet. |
session.impersonation.kindenumrequired | Payezy staff, or a member of the platform this customer banks through One of |
session.impersonation.staff_idstring (uuid) | No description in the spec yet. |
session.impersonation.scopeenumrequired | No description in the spec yet. One of |
session.impersonation.platform_idstring (uuid) | No description in the spec yet. |
session.impersonation.platform_namestring | No description in the spec yet. |
session.impersonation.viewer_namestring | The platform team member who is viewing |
session.impersonation.viewer_emailstring | No description in the spec yet. |
pending_claimsPendingOwnerClaim[] | Owner claims waiting for this email on accounts that still have no members. Set only when the caller has no organization yet. Omitted otherwise. Declining a claim does not remove it. |
pending_claims[].invitation_idstring (uuid)required | No description in the spec yet. |
pending_claims[].org_idstring (uuid)required | No description in the spec yet. |
pending_claims[].org_namestringrequired | No description in the spec yet. |
pending_claims[].org_typeenumrequired | No description in the spec yet. One of |
pending_claims[].platform_namestring | The platform that opened this account, when one did |
pending_claims[].expires_atstring (date-time)required | No description in the spec yet. |