API Reference
Organization Settings
Get organization settings
Returns the organization settings including audit retention, bulk batch size, passkey requirement, and PostHog configuration.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Update organization settings
Updates organization settings such as audit retention days, bulk batch size, and PostHog configuration.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredSettings update
auditRetentionDaysintegerbulkBatchSizeintegerposthogApiHoststringposthogEnabledbooleanPostHog account-level configuration (org-scoped).
posthogPersonalApiKeystringposthogUiHoststringposthogWebhookSecretstringrequirePasskeybooleansubscriptionCodestringOK
Test PostHog connection
Tests the PostHog API connection using the stored personal API key.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Validate subscription code
Validates the stored Odoo Enterprise subscription code.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonOptionalValidation request
odooVersionstringOK
Was this page helpful?