Skip to main content
POST
/
auth
/
signin-requests
Create sign-in request
curl --request POST \
  --url https://www.dench.com/api/v1/auth/signin-requests \
  --header 'Content-Type: application/json' \
  --data '
{
  "codeHash": "string",
  "sessionTokenHash": "string",
  "agentName": "string",
  "agentKind": "string",
  "intent": "join_existing"
}
'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

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