Excalidraw+ API

Get workspace user

Retrieve details for a specific user in the current workspace by user ID.

This endpoint returns all metadata for the user, excluding workspace references.

Use cases:

  • Displaying user profiles
  • Managing user roles and permissions
  • Auditing user activity
GET
/api/v1/workspaces/users/{userId}

Authorization

apiKey
headerAuthorizationBearer <Bearer>

The API will use the Authorization: Bearer <your-key> header for requests.

Path Parameters

userId*string

Response Body

This response returns the metadata for the requested workspace user.

application/json
  1. response

This response returns the metadata for the requested workspace user.

isInitialized?boolean
created*string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
uid*string|null
id*string
picture*|
Formaturi
email*string
Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
name*string
updated*|
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
workspaceTeams*
subscriptionStatus?string
lastActive?|
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
lastActiveRefreshedAt?string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
preferences?
lastVisitedScenes?array<string>
lastEditedScenes?array<string>
rateLimits?
libraryVersion?number
role*string
Value in"member""admin"
Example Request
curl -X GET 'https://api.excalidraw.com/api/v1/workspaces/users/string'
Example Response
{
  "isInitialized": true,
  "created": "2019-08-24T14:15:22Z",
  "uid": "string",
  "id": "string",
  "picture": "http://example.com",
  "email": "user@example.com",
  "name": "string",
  "updated": "2019-08-24T14:15:22Z",
  "workspaceTeams": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "subscriptionStatus": "string",
  "lastActive": "2019-08-24T14:15:22Z",
  "lastActiveRefreshedAt": "2019-08-24T14:15:22Z",
  "preferences": {
    "ossAutoRedirect": true,
    "sceneOrder": "manual",
    "initialRedirect": "dashboard",
    "hideDeprecatedFonts": true,
    "enableAutoSceneNamingForPrivateCollections": true,
    "blockCommentEmailNotifications": true,
    "pushToTalkEnabled": true,
    "theme": "light",
    "locale": "en",
    "localeSuggestionDismissed": true,
    "showHints": true,
    "minimapEnabled": true,
    "bindingPreference": "enabled",
    "isMidpointSnappingEnabled": true
  },
  "lastVisitedScenes": [
    "string"
  ],
  "lastEditedScenes": [
    "string"
  ],
  "rateLimits": {
    "textToDiagram": {
      "property1": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      },
      "property2": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      }
    },
    "diagramToCode": {
      "property1": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      },
      "property2": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      }
    },
    "nameScene": {
      "property1": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      },
      "property2": {
        "lastUsed": 0,
        "firstUsed": 0,
        "count": 0
      }
    }
  },
  "libraryVersion": 0,
  "role": "member"
}

Last updated on