> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1accountpreferences

> Notification choices, marketing consent, contact-channel flags, and any suppression. A contact's address is never returned — only whether it is verified and what it is used for.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/account/preferences
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/account/preferences:
    get:
      tags:
        - account
      description: >-
        Notification choices, marketing consent, contact-channel flags, and any
        suppression. A contact's address is never returned — only whether it is
        verified and what it is used for.
      operationId: getAccountPreferences
      responses:
        '200':
          description: Preferences
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountPreferences'
components:
  schemas:
    AccountPreferences:
      type: object
      required:
        - locale
        - notifications
        - marketing
        - contacts
      properties:
        locale:
          type: string
          enum:
            - auto
            - ru
            - en
        notifications:
          type: object
          required:
            - expiry
            - traffic
            - renewal
            - news
          properties:
            expiry:
              type: boolean
            traffic:
              type: boolean
            renewal:
              type: boolean
            news:
              type: boolean
        quietHours:
          type: object
          description: Absent when unset.
          required:
            - startHour
            - endHour
          properties:
            startHour:
              type: integer
              minimum: 0
              maximum: 23
            endHour:
              type: integer
              minimum: 0
              maximum: 23
        marketing:
          type: object
          required:
            - enabled
          properties:
            enabled:
              type: boolean
            decidedAt:
              type: string
              format: date-time
            source:
              type: string
              description: Which surface recorded the decision.
            policyVersion:
              type: string
        contacts:
          type: array
          description: Flags only. The address itself is never returned.
          items:
            type: object
            required:
              - id
              - kind
              - verified
              - transactional
              - marketing
              - createdAt
            properties:
              id:
                type: string
                format: uuid
              kind:
                type: string
                enum:
                  - email
                  - phone
                  - telegram
              verified:
                type: boolean
              transactional:
                type: boolean
              marketing:
                type: boolean
              createdAt:
                type: string
                format: date-time
        suppression:
          type: object
          required:
            - reason
            - createdAt
          properties:
            reason:
              type: string
              enum:
                - customer_request
                - bounced
                - complaint
                - operator
            createdAt:
              type: string
              format: date-time

````

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