Skip to Content
ApiOauth

Oauth Decide

Allow access for one Network The person's consent. Only an Owner or Admin of `account_id`; `read` is always granted. Returns the redirect with `code`, `state` and `iss` (RFC 9207). Codes last 5 minutes and work once.

POST
/oauth/authorize

Allow access for one Network

The person's consent. Only an Owner or Admin of account_id; read is always granted. Returns the redirect with code, state and iss (RFC 9207). Codes last 5 minutes and work once.

Authorization

session
cookieql_session<token>

Request Body

application/json
  1. body
response_type*string
client_id*string
redirect_uri*string
code_challenge*string
code_challenge_method*string
state?string
scope?string
resource?string
account_id*string
scopes*array<>

Response Body

Send the browser here

application/json
  1. response
redirect_to?string
Example Request
curl -X POST 'https://tiltas.openpanel.sh/api/v1/oauth/authorize' \  -H 'Content-Type: application/json' \  -d '{  "response_type": "string",  "client_id": "string",  "redirect_uri": "string",  "code_challenge": "string",  "code_challenge_method": "string",  "account_id": "string",  "scopes": [    "read"  ]}'
Example Response
{  "redirect_to": "string"}