Skip to main content
POST
/
proxy
/
tools
/
auth
Get auth URL
curl --request POST \
  --url https://api.kylon.io/proxy/tools/auth \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "toolkit": "<string>",
  "scopes": [
    "<string>"
  ],
  "redirect_url": "<string>"
}
'
{
  "redirectUrl": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Can also be passed as Authorization: Bearer <token>.

Body

application/json
toolkit
string
required

Toolkit slug (from search results).

scopes
string[]

OAuth scopes to request. If omitted, requests all available scopes.

redirect_url
string

URL to redirect the user to after authorization completes.

Response

Successful response

redirectUrl
string
required

URL to open in a browser to complete the OAuth flow.