POST
Join a workspace that matches the user email domain

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie.

Body

application/json
organizationId
string
required
Minimum string length: 1

Response

Joined workspace

redirectTo
string
required
nextOrganizationId
string | null
required