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

# Get the org's compliance settings (creates default on first read)



## OpenAPI

````yaml /api-reference/openapi.json get /v1/communication/compliance
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/communication/compliance:
    get:
      tags:
        - communication
      summary: Get the org's compliance settings (creates default on first read)
      operationId: getCompliance
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ComplianceResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        allowed_countries:
          items:
            type: string
          type: array
          title: Allowed Countries
        auto_send_email_enabled:
          type: boolean
          title: Auto Send Email Enabled
        auto_send_platform_templates:
          type: boolean
          title: Auto Send Platform Templates
        prior_session_max_count:
          type: integer
          title: Prior Session Max Count
        prior_session_window_days:
          type: integer
          title: Prior Session Window Days
        prior_session_cross_channel:
          type: boolean
          title: Prior Session Cross Channel
        closed_thread_notice_template:
          type: string
          title: Closed Thread Notice Template
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - organization_id
        - allowed_countries
        - auto_send_email_enabled
        - auto_send_platform_templates
        - prior_session_max_count
        - prior_session_window_days
        - prior_session_cross_channel
        - closed_thread_notice_template
        - created_at
        - updated_at
      title: ComplianceResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````