okaeDocs
APIExperimental

API reference · v1

Authorise an API session

GET
/api/v1/auth/authorize

Open this URL in the system browser. The owner signs in through GitHub and grants access to configure one workspace and read or request assessments. The client verifies the returned state. Only registered loopback callback shapes are accepted. Browser consent uses the existing session and CSRF protections.

Query Parameters

redirect_uri*string

Client loopback callback.

Formaturi
state*string

Correlates the login with the local client.

code_challenge*string

PKCE challenge.

Match^[A-Za-z0-9_-]{43}$
code_challenge_method*"S256"

Required challenge method.

Value in

  • "S256"

Response Body

text/html

application/json

application/json

curl -X GET "https://example.com/api/v1/auth/authorize?redirect_uri=http%3A%2F%2Fexample.com&state=string&code_challenge=string&code_challenge_method=S256"
"string"