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
apiKeyheader
AuthorizationBearer <Bearer>The API will use the Authorization: Bearer <your-key> header for requests.
limit?integerThe number of items to return per page.
Range
1 <= value <= 100offset?integerThe number of items to skip before starting to collect the result set.
Range
0 <= value <= 9007199254740991This response returns a paginated list of workspace invites.
application/json- response
This response returns a paginated list of workspace invites.
limit*numberThe maximum number of items to return.
offset*numberThe number of items to skip before starting to collect the result set.
hasNextPage*booleanIndicates if there are more pages available.
data*array<>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