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
apiKeyheader
AuthorizationBearer <Bearer>The API will use the Authorization: Bearer <your-key> header for requests.
inviteId*stringThis response returns the data for the requested workspace invite.
application/json- response
This response returns the data for the requested workspace invite.
id*stringcreated*stringtype*stringValue in
"link""email"status*stringValue in
"pending""redeemed""rejected"email*string|nullrole*stringValue in
"member""admin"resolvedAt*string|nullredeemedBy*string|nullmaxUses?|uses?numberrestrictedDomains?array<string>|nullcurl -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