Skip to main content
POST
Create sign-in request

Body

application/json
codeHash
string
required
sessionTokenHash
string
required
agentName
string
required
agentKind
string
required

Agent kind, normalized to snake_case.

intent
enum<string>
required

Whether to join an existing workspace or create a new one.

Available options:
join_existing,
create_workspace
proposedOrganizationName
string

Required when intent is create_workspace.

requestedOrganizationSelector
string
userAgent
string

Response

Successful response

status
string
required
Allowed value: "pending"
expiresAt
number
required

Epoch ms when the sign-in code expires.