Meta

Get the current identity

Returns the identity and workspaces associated with the token.

get/me

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/me
  • Auth: HTTP bearer

Response

The current identity and workspaces.

idstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

type'user' | 'service' required

Type of identity associated with the token.

emailstring email

Email address. Present for user identities.

namestring

Display name.

Example response

{
  "id": "usr_4f1a8c2e",
  "type": "user",
  "email": "producer@example.com",
  "name": "Dana Producer",
  "workspaces": [
    {
      "workspaceId": "ws_2b9d7a1f",
      "workspaceName": "Paradigm Pictures",
      "workspaceRole": "admin"
    }
  ]
}

Changes

No recorded changes to this operation across all 4 revisions of this API.