Skip to main content
POST
/
v1
/
oauth
/
configs
Upsert a BYOA provider configuration
curl --request POST \
  --url https://auth.runtools.ai/v1/oauth/configs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "scopes": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
provider
string
required
client_id
string
required
client_secret
string

Send unchanged or empty to keep the stored secret.

scopes
string

Response

200

Upserted.