SnozeDevelopers
API referenceWorkspaces

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.

POST
/v1/workspace-invites/{token}/accept
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 POST "https://example.com/v1/workspace-invites/string/accept"
{  "data": {    "id": "string",    "slug": "string",    "name": "string",    "icon": "initials",    "accentColor": "string",    "imageUrl": "string",    "role": "owner",    "permissions": [      "workspace:read"    ],    "createdAt": "string",    "updatedAt": "string"  }}