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

# Загрузить логотип писем

> Загружает логотип, который показывается в письмах (jpg, jpeg, png, до 2 МБ)



## OpenAPI

````yaml POST /api/v1/bot/{bot}/settings/email/logo
openapi: 3.1.0
info:
  title: Zenedu API v1
  description: >-
    API for managing Telegram bots, subscribers, products, funnels, offers, and
    orders on the Zenedu platform.
  version: 1.0.0
servers:
  - url: https://app.zenedu.io
security:
  - bearerAuth: []
tags:
  - name: User
    description: Current user profile
  - name: Bots
    description: Bot management
  - name: Subscribers
    description: Subscriber management
  - name: Orders
    description: Order management
  - name: Products
    description: Product management
  - name: Funnels
    description: Funnel management
  - name: Offers
    description: Offer management
  - name: Links
    description: Link generation
  - name: Files
    description: File downloads
  - name: Zapier
    description: Zapier webhook management
  - name: Webhooks
    description: Account webhook subscriptions
  - name: Payment systems
    description: Account payment methods
  - name: Bot settings
    description: 'Bot configuration: email, branding, integrations, legal documents'
  - name: Commands
    description: Bot menu commands
  - name: Custom fields
    description: Subscriber custom fields
  - name: Folders
    description: Folders for products, funnels, channels and groups
  - name: Slugs
    description: Public link slugs
  - name: Funnel links
    description: Subscription links of a funnel
  - name: Coupons
    description: Coupon management
  - name: Subscriptions
    description: Recurring subscription management
  - name: Tasks
    description: Student task review
  - name: Broadcasts
    description: Broadcast messages
  - name: Automations
    description: Event-based automations
  - name: Affiliate
    description: Affiliate program management
  - name: Shop
    description: Bot shop draft and publication
  - name: Channels
    description: Telegram channels connected to the bot
  - name: Groups
    description: Telegram groups connected to the bot
  - name: Mini-app
    description: Telegram mini app configuration
  - name: Web
    description: Web app configuration
  - name: Telegram files
    description: Telegram file attachments for steps and broadcasts
paths:
  /api/v1/bot/{bot}/settings/email/logo:
    post:
      tags:
        - Bot settings
      summary: Upload email logo
      description: >-
        Uploads the logo shown in emails. Accepts a jpg, jpeg, or png image up
        to 2 MB.
      operationId: uploadBotEmailLogo
      parameters:
        - name: bot
          in: path
          required: true
          description: Bot ID
          schema:
            type: integer
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - file
              properties:
                file:
                  type: string
                  format: binary
                  description: Image file (jpg, jpeg, png), up to 2 MB
      responses:
        '200':
          description: Updated bot settings
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/BotSettings'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — lacks access to this bot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation error — invalid image or file too large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BotSettings:
      type: object
      properties:
        email:
          type: object
          description: Email sender settings
          properties:
            sender_name:
              type: string
              description: Configured sender name
            effective_sender_name:
              type: string
              description: Sender name actually used (falls back to a default when empty)
            reply_to:
              type: string
              description: Reply-to address
            signature:
              type: string
              description: Email signature
            button_color:
              type: string
              nullable: true
              description: Button color as a hex value
            zenedu_branding:
              type: boolean
              description: Whether Zenedu branding is shown in emails
            logo_url:
              type: string
              nullable: true
              description: Email logo URL
        branding:
          type: object
          description: Branding settings
          properties:
            zenedu_branding:
              type: boolean
              description: Whether Zenedu branding is shown
            theme:
              type: string
              enum:
                - system
                - light
                - dark
              description: Interface theme
            button_color:
              type: string
              nullable: true
              description: Button color as a hex value
        integrations:
          type: object
          description: Analytics and tracking integrations
          properties:
            meta_pixel_id:
              type: string
              nullable: true
              description: Meta Pixel ID
            meta_capi_token_hint:
              type: string
              nullable: true
              description: >-
                First four characters of the Meta Conversions API token; the
                full token is never returned
            google_analytics_id:
              type: string
              nullable: true
              description: Google Analytics measurement ID
            google_tag_manager_id:
              type: string
              nullable: true
              description: Google Tag Manager container ID
            google_sheets:
              type: object
              description: Google Sheets integration state
              properties:
                connected:
                  type: boolean
                  description: Whether the integration is connected
                email:
                  type: string
                  nullable: true
                  description: Connected Google account email
                requires_reauth:
                  type: boolean
                  description: Whether the connection needs to be re-authorized
                spreadsheets:
                  type: array
                  description: Linked spreadsheets
                  items:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: Linked spreadsheet ID
                      spreadsheet_id:
                        type: string
                        description: Google spreadsheet ID
                      name:
                        type: string
                        description: Spreadsheet name
        legal:
          type: array
          description: Legal documents
          items:
            type: object
            properties:
              type:
                type: string
                enum:
                  - privacy
                  - terms
                description: Document type
              enabled:
                type: boolean
                description: Whether the document is enabled
              title:
                type: string
                nullable: true
                description: Document title
              text:
                type: string
                nullable: true
                description: Document text
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Validation errors keyed by field name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token from the Zenedu dashboard

````

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