Skip to main content
GET
Authorize (browser step)

Query Parameters

response_type
enum<string>
required
Available options:
code
client_id
string
required

Registered client id (starts with agc_, max 120 chars).

redirect_uri
string<uri>
required

Must exactly match a redirect URI registered for the client.

scope
string
required

Space-separated list. Supported: journal:read, chat:read. At least one is required; unknown scopes are rejected.

state
string

Opaque value echoed back unmodified on the redirect. Strongly recommended for CSRF protection.

code_challenge
string
required

PKCE challenge: BASE64URL(SHA256(code_verifier)) without padding.

code_challenge_method
enum<string>
default:S256

Only S256 is accepted. Defaults to S256 when omitted.

Available options:
S256

Response

HTML consent page (user is signed in).

The response is of type string.