Account

Get user info

Returns basic info about the current user.

get/whoami

Request

  • Base URL: https://docs.superhuman.com/apis/v1
  • URL: https://docs.superhuman.com/apis/v1/whoami
  • Auth: HTTP bearer

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"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.