Skip to Content
Organization and audit

Get the current organization

Permissionorg:readAuthentication
GET
/orgs/current

Returns the complete mutable settings document for the workspace selected by the authenticated principal.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Response Body

Current organization settings.

application/json
  1. response
id*string
Formatuuid
slug*string
Length1 <= length
name*string
Length1 <= length <= 200
retention_days*integer
Range1 <= value <= 3650
default_timezone*string

Canonical IANA timezone.

Length1 <= length
mfa_policy*string

Second-factor requirement for PASSWORD sign-in to this organization. off asks for no second factor, optional lets members enrol and challenges those who have, required obliges every member to enrol before using the dashboard. Federated (OIDC) identities are governed by the upstream identity provider instead. Changing this requires the mfa entitlement; reading it never does.

Value in"off""optional""required"
pii_access_mode*string

How much friction stands in front of an un-redacted read of call data. open asks for nothing, reason requires a written justification per read, approval requires a request another member approves before any read is allowed. It never changes WHICH permission is required — pii-access:unmask still gates raw transcripts and raw tool I/O, calls:download-recording still gates audio. Changing this requires the pii_redaction_config entitlement; reading it never does.

Value in"open""reason""approval"
pii_access_grant_days*integer

How many days an approved break-glass request stays usable. 0 means it never expires. Stamped onto a request when it is approved, so shortening this later never cuts short an approval already granted. Only meaningful when pii_access_mode is approval.

Range0 <= value <= 365
pii_masking*string

Whether calls are PII-masked when they are stored. enabled masks the built-in identifier set plus the organization's custom terms. disabled (the default for new organizations) stores transcripts, tool input/output, guardrail reasons and context messages as spoken; credentials in tool I/O (authorization headers, tokens, passwords, API keys, PINs, card security codes) stay masked. Applies to calls recorded after the change — stored calls are never rewritten. Changing this requires the pii_redaction_config entitlement; reading it never does.

Value in"enabled""disabled"
ai_connectors*AIConnectorsMode

Whether members may connect AI assistants (Claude and other MCP clients) to this team through OAuth. enabled — a connected app acts as the member, limited by their role and the scopes they approved; read_only — connected apps keep only read access; disabled — every connected-app request for this team is refused with ai_connectors_disabled. Teams with a signed BAA start disabled. Changing it requires org:update.

Value in"enabled""read_only""disabled"
version*integer
Formatint64
Range1 <= value
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://api.kejue.co/v1/orgs/current'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "slug": "string",  "name": "string",  "retention_days": 1,  "default_timezone": "string",  "mfa_policy": "off",  "pii_access_mode": "open",  "pii_access_grant_days": 0,  "pii_masking": "enabled",  "ai_connectors": "enabled",  "version": 1,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}