Skip to content

Accept Workspace Invitation

POST/web/v1/users/self/invitations/{invitationBizId}/accept JWT

Accepts a workspace invitation for the authenticated user. The user will be added as a member of the workspace.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
AuthorizationBearerJWT access token

Request Parameters

NameTypeRequiredInDescription
invitationBizIdStringRequiredpathInvitation business ID

Success Response

Success 200
{
  "version": "1.3.0",
  "timestamp": 1709337600000,
  "success": true,
  "code": "2000",
  "message": "SUCCESS",
  "data": {
    "workspaceId": "ws_abc123",
    "workspaceName": "My Workspace",
    "role": "MEMBER"
  }
}

Error Responses

Unauthorized 401
{
  "success": false,
  "code": "4010",
  "message": "Invalid or expired token"
}

Notes

  • The user is added as a member of the workspace upon acceptance.
  • The invitation is consumed and cannot be accepted again.

SlaunchX Internal Documentation