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

# Retrieve buyer settings

> Retrieve a buyer's communication preferences. These control the language and formality of the automated emails Tilta sends on your behalf.

Tilta sends automated emails to buyers at key points in the payment lifecycle – onboarding invitations, invoice notifications, and payment reminders. A buyer's settings control the language and formality level used in those communications.

Both fields are nullable. A `null` value means no preference is stored for the buyer and Tilta falls back to your platform's default.


## OpenAPI

````yaml GET /v1/buyers/{external_id}/settings
openapi: 3.0.0
info:
  version: 0.0.1
  title: Tilta API
  description: Tilta API documentation
servers:
  - url: https://api.tilta.io
    description: Tilta Production API
  - url: https://api.tilta-sandbox.io
    description: Tilta Sandbox API
security: []
paths:
  /v1/buyers/{external_id}/settings:
    get:
      tags:
        - Buyers
      summary: Get buyer settings
      description: Returns buyer's settings
      parameters:
        - schema:
            type: string
            maxLength: 100
            pattern: ^[a-zA-Z0-9-_]+$
            description: Unique identifier of a buyer.
          required: true
          description: Unique identifier of a buyer.
          name: external_id
          in: path
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  language:
                    type: string
                    nullable: true
                    enum:
                      - AR
                      - BG
                      - CS
                      - DA
                      - DE
                      - EL
                      - EN
                      - ES
                      - ET
                      - FI
                      - FR
                      - GA
                      - HR
                      - HU
                      - IT
                      - JA
                      - LT
                      - LV
                      - MT
                      - NL
                      - 'NO'
                      - PL
                      - PT
                      - RO
                      - RU
                      - SK
                      - SL
                      - SV
                      - TR
                      - UK
                      - ZH
                    description: >-
                      Buyer's preferred communication language. Send `null` to
                      clear.
                  formality:
                    type: string
                    nullable: true
                    enum:
                      - NEUTRAL
                      - FORMAL
                      - INFORMAL
                    description: >-
                      Buyer's preferred communication formality. Send `null` to
                      clear.
                required:
                  - language
                  - formality
                additionalProperties: false
                description: Buyer's communication preferences.
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/badRequestSchema'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorizedRequestSchema'
      security:
        - bearerAuth: []
components:
  schemas:
    badRequestSchema:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: BAD_REQUEST
        error:
          type: string
          description: Error message for debugging purposes
          example: Request validation failed. 1 issue found.
        issues:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                description: Issue code
                example: INVALID_TYPE
              path:
                type: string
                description: Issue path starting with body, params, querystring, or headers
                example: body.registered_at
              message:
                type: string
                description: Issue message for debugging purposes
                example: Invalid type
            required:
              - code
              - path
              - message
          description: List of issues
          example:
            - code: INVALID_TYPE
              path: body.registered_at
              message: Invalid type
      required:
        - code
        - error
        - issues
      description: Bad Request, see error message for details.
      example:
        code: BAD_REQUEST
        error: Request validation failed. 1 issue found.
        issues:
          - code: INVALID_TYPE
            path: body.registered_at
            message: Invalid type
    unauthorizedRequestSchema:
      type: object
      properties:
        error:
          type: string
          description: Error details.
          example: Unauthorized
        code:
          type: string
          description: Error code.
          example: UNAUTHORIZED
      required:
        - error
        - code
      description: Unauthorized Request.
      example:
        error: Unauthorized
        code: UNAUTHORIZED
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your Tilta API key, sent as `Bearer <key>`.

````