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

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

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

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
clientId
string
required
Minimum string length: 1
clientSecret
string
required
Minimum string length: 1

Response

Configuration saved

success
boolean