Excalidraw+ API

Get workspace invites

Retrieve a paginated list of invites for the current workspace.

This endpoint allows you to:

  • List all pending and active invites
  • Paginate through large invite lists

Use cases:

  • Managing workspace invitations
  • Displaying invite status in UI
  • Auditing workspace access
GET
/api/v1/workspaces/invites

Authorization

apiKey
headerAuthorizationBearer <Bearer>

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

Query Parameters

limit?integer

The number of items to return per page.

Range1 <= value <= 100
offset?integer

The number of items to skip before starting to collect the result set.

Range0 <= value <= 9007199254740991

Response Body

This response returns a paginated list of workspace invites.

application/json
  1. response

This response returns a paginated list of workspace invites.

limit*number

The maximum number of items to return.

offset*number

The number of items to skip before starting to collect the result set.

hasNextPage*boolean

Indicates if there are more pages available.

data*array<>
Example Request
curl -X GET 'https://api.excalidraw.com/api/v1/workspaces/invites'
Example Response
{
  "limit": 0,
  "offset": 0,
  "hasNextPage": true,
  "data": [
    {
      "id": "string",
      "created": "string",
      "type": "link",
      "status": "pending",
      "email": "string",
      "role": "member",
      "resolvedAt": "string",
      "redeemedBy": "string",
      "maxUses": 1,
      "uses": 0,
      "restrictedDomains": [
        "string"
      ]
    }
  ]
}

Last updated on