Excalidraw+ API

Get workspace invite

Retrieve details for a specific workspace invite by its ID.

This endpoint returns all metadata for the invite, including status and restrictions.

Use cases:

  • Displaying invite details in UI
  • Validating invite status before accepting
  • Auditing invite usage
GET
/api/v1/workspaces/invites/{inviteId}

Authorization

apiKey
headerAuthorizationBearer <Bearer>

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

Path Parameters

inviteId*string

Response Body

This response returns the data for the requested workspace invite.

application/json
  1. response

This response returns the data for the requested workspace invite.

id*string
created*string
type*string
Value in"link""email"
status*string
Value in"pending""redeemed""rejected"
email*string|null
role*string
Value in"member""admin"
resolvedAt*string|null
redeemedBy*string|null
maxUses?|
uses?number
restrictedDomains?array<string>|null
Example Request
curl -X GET 'https://api.excalidraw.com/api/v1/workspaces/invites/string'
Example Response
{
  "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