Skip to main content
POST
See what an invite link's token would join, without joining

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Body

application/json
token
string
required

The token from the link (#/invite/{token}).

Response

The invite, as the person would join it.

workspace
object
required
role
enum<string>
required

The invite's role, or the caller's own role when they are already a member.

Available options:
admin,
developer,
viewer,
owner,
member
invited_by_email
string | null
required

The email of the member who created the invite.

expires_at
string<date-time>
required
already_member
boolean
required

True: accepting would only switch the caller to the workspace.