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.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
token*stringSuccess
application/json- response
data*curl -X GET 'https://api.snoze.dev/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" }}Revoke a pending workspace invite
Marks the invite revoked so its token can no longer be redeemed, cancels the queued invitation email, and returns the resulting invite. Requires `members:invite`. An unknown invite is not found and one that is no longer pending conflicts.
Accept a workspace invite using its token
Redeems the invite token, creates the membership at the invited role, and returns the joined workspace; billable seats are re-synced afterwards. The caller must be authenticated with a synced profile and a verified email matching the invited address — an unverified or different email is refused. Unknown, already-closed, and expired invites are rejected.