SnozeDevelopers
API referenceWorkspaces

Preview a workspace invite from its token

Resolves an invite token to the workspace name, icon, accent color, invited email, role, and status so the sign-in screen can show what is being joined. No authentication; the token in the path is the credential. A pending invite past its expiry is reported with status `expired`, and an unknown token is not found.

GET
/v1/workspace-invites/{token}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

token*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspace-invites/string"
{  "data": {    "id": "string",    "workspaceId": "string",    "workspaceName": "string",    "workspaceSlug": "string",    "workspaceIcon": "initials",    "workspaceAccentColor": "string",    "email": "string",    "role": "owner",    "status": "pending",    "expiresAt": "string",    "createdAt": "string"  }}