v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Account

Get user info

Returns basic info about the current user.

get/whoami

Response

Info about the current user.

namestring required

Name of the user.

loginIdstring required

Email address of the user.

type'user' required

The type of this resource.

pictureLinkstring url

Browser-friendly link to the user's avatar image.

scopedboolean required

True if the token used to make this request has restricted/scoped access to the API.

tokenNamestring required

Returns the name of the token used for this request.

hrefstring url required

API link to the user.

Example response

{
  "name": "John Doe",
  "loginId": "user@example.com",
  "pictureLink": "https://cdn.coda.io/avatars/default_avatar.png",
  "tokenName": "My API token",
  "href": "https://docs.superhuman.com/apis/v1beta/whoami",
  "workspace": {
    "id": "ws-1Ab234",
    "organizationId": "org-2Bc456",
    "browserLink": "https://docs.superhuman.com/docs?workspaceId=ws-1Ab234",
    "name": "My workspace"
  }
}