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

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

token*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspace-invites/string/accept'
Example Response
{  "data": {    "id": "string",    "slug": "string",    "name": "string",    "icon": "initials",    "accentColor": "string",    "imageUrl": "string",    "role": "owner",    "seatStatus": "active",    "permissions": [      "workspace:read"    ],    "createdAt": "string",    "updatedAt": "string"  }}