Skip to main content
POST
/
org
/
apps
/
{provider}
/
config
Set organization app configuration
curl --request POST \
  --url https://api.onecli.sh/v1/org/apps/{provider}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientId": "1234567890.apps.googleusercontent.com",
  "clientSecret": "GOCSPX-…"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

provider
string
required

App provider identifier (e.g., gmail, github, jira)

Body

application/json

Credential fields as defined by the app's configuration schema.

{key}
string

Response

Configuration saved

success
boolean