Excalidraw+ API

Get workspace data

Retrieve the current workspace's metadata, including users and invites.

This endpoint returns:

  • Workspace name, settings, and configuration
  • List of user IDs in the workspace
  • Workspace invite information

Use cases:

  • Displaying workspace details in dashboards
  • Fetching workspace data for integrations
  • Validating workspace context for user actions
GET
/api/v1/workspaces

Authorization

apiKey
headerAuthorizationBearer <Bearer>

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

Response Body

This response returns the data for the current workspace.

application/json
  1. response

This response returns the data for the current workspace.

id*string
users*array<string>
roles*
name*string
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
picture*|
Formaturi
subscriptionStatus*string
Value in"payment_failed""active""canceled""trialing""overdue"
creator*string|null
updater*string|null
apiVersion?string
willCancelAt*|
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
blockedUsers?array<string>
type?unknown
Value innull12
preferences?
flags?number
isDeleted?boolean
deletedAt?number
Example Request
curl -X GET 'https://api.excalidraw.com/api/v1/workspaces'
Example Response
{
  "id": "string",
  "users": [
    "string"
  ],
  "roles": {
    "property1": "member",
    "property2": "member"
  },
  "name": "string",
  "created": "2019-08-24T14:15:22Z",
  "picture": "http://example.com",
  "subscriptionStatus": "payment_failed",
  "creator": "string",
  "updater": "string",
  "apiVersion": "string",
  "willCancelAt": "2019-08-24T14:15:22Z",
  "blockedUsers": [
    "string"
  ],
  "type": null,
  "preferences": {
    "disableAi": true,
    "enableAutoSceneNaming": true,
    "disableEmailEditing": true,
    "disableSceneSharing": true,
    "userApiKeysEnabled": true,
    "disableAiConnectors": true,
    "requireTwoFactor": true
  },
  "flags": 0,
  "isDeleted": true,
  "deletedAt": 0
}

Last updated on