Help · API reference
You
The signed-in user.
Get the signed-in userGET /api/v1/me
Returns the caller's user record, the teams they belong to with their role and plan, projects reached through a per-project grant (guest_projects), the unread notification count, whether the session is stepped up (elevated), and the platform limits.
Who may call it: A signed-in session, or an access token (write to change anything)
200 Success.
What comes back
userobject, requiredidstring, requiredemailstring, requirednamestring | null, requiredavatar_urlstring | null, requiredlocalestring, requiredcommit_email_visibleboolean, required
notifications_unreadnumber, requiredelevatedboolean, required: Whether this session has stepped up; always false for a token.box_operatortrue: Present when the caller runs this deployment.platform_admintrue: Present when the caller is platform staff.deletion_grace_daysnumber, requireddashboard_originstring, requiredlimitsobject, requiredprojects_per_accountnumber, requiredbuilds_per_daynumber, requiredupload_bytesnumber, required
guest_projectsarray of object, requiredA list of:
idstring, requiredslugstring, requirednamestring, requiredstatusstring, requiredrolestring, requiredaccountstring, required: The name of the team the project belongs to.
accountsarray of object, requiredA list of:
idstring, requiredslugstring, requirednamestring, requiredtypestring, requiredplanstring, requiredrolestring, requireddeleted_atstring: Present only while a deletion is pending.purge_afterstring: Present only while a deletion is pending.
Errors it can answer
- 401 Authentication required. (
codeisunauthenticated.) - default Any other failure, as RFC 9457 problem details.