> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryopencomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Preferences

> Read the selected organization's supported call-event and behavior preferences.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/organizations/preferences
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/organizations/preferences:
    get:
      tags:
        - Organizations
      summary: Get Preferences
      description: >-
        Read the selected organization's supported call-event and behavior
        preferences.
      operationId: get_preferences_api_v1_organizations_preferences_get
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPreferencesResponse'
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    OrganizationPreferencesResponse:
      properties:
        call_events:
          $ref: '#/components/schemas/CallEventsSettings'
        test_phone_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Test Phone Number
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          title: Timezone
        external_pbx_integrations_enabled:
          type: boolean
          title: External Pbx Integrations Enabled
          default: false
        disposition_mapping_enabled:
          type: boolean
          title: Disposition Mapping Enabled
          default: false
        disposition_mapping:
          additionalProperties:
            type: string
          type: object
          title: Disposition Mapping
          description: >-
            Athena disposition -> the code this organization uses for it.
            Applied when writing `gathered_context.mapped_call_disposition`, so
            webhooks, run filters, reports and external-PBX write-backs all read
            the organization's own vocabulary. Dispositions absent from the
            mapping pass through unchanged.
      type: object
      required:
        - call_events
      title: OrganizationPreferencesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CallEventsSettings:
      properties:
        enabled:
          type: boolean
          title: Enabled
          default: false
        sink_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Sink Type
        config:
          additionalProperties: true
          type: object
          title: Config
      type: object
      title: CallEventsSettings
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.