Skip to main content
PUT
https://your-rootprint-host
/
api
/
settings
/
auth
/
google
/
credentials
Set Google auth credentials
curl --request PUT \
  --url https://your-rootprint-host/api/settings/auth/google/credentials \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "clientId": "<string>",
  "clientSecret": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "statusCode": 123,
    "requestId": "<string>",
    "details": [
      {
        "path": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

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

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Body

application/json
clientId
string
required
Minimum string length: 1
clientSecret
string<password>
required
Minimum string length: 1

Response

Credentials saved.