auth

Issue a single-use support sign-in link for an existing account

Called by the internal admin console. Pre-session: the request carries the operator's own Google Workspace ID token as a bearer, which api-go verifies before recording that operator on the audit row. There is no dev bypass — use db-cli auth-link locally.

post/api/auth/support-link/issue

Request

  • Base URL
    https://api.hillstar.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hillstar.ai/api/auth/support-link/issue
  • Auth
    none declared

Headers

Authorizationstring

Bearer <Google Workspace ID token> of the issuing operator

Request body

$schemastring uri

A URL to the JSON Schema for this object.

emailstring email required

Email of the existing active account to issue for

reasonstring required

Support reason and identity-verification context; recorded in the audit row

Example request

{
  "$schema": "https://example.com/api/schemas/SupportLinkIssueRequest.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

audit_idinteger required

Issuance audit row id; revoke the link by this id

expires_atstring required

RFC3339 UTC instant the link stops working

linkstring required

One-time sign-in URL. The bearer rides in the fragment and is never recoverable again

target_namestring required

Display name of the account the link signs in; empty when the account has no name

Example response

{
  "$schema": "https://example.com/api/schemas/SupportLinkIssueResponse.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.