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

# Carica logo dell'organizzazione

> Carica il logo di un'organizzazione.
Accetta file PNG, JPG o SVG fino a 2MB e genera: - un logo ridimensionato (max 400x400) - una favicon (32x32)
I nuovi URL vengono salvati nei dati di branding dell'organizzazione.



## OpenAPI

````yaml post /api/v1/organizations/{id}/branding/logo
openapi: 3.1.0
info:
  title: Aegister API
  version: 1.0.5
servers: []
security: []
paths:
  /api/v1/organizations/{id}/branding/logo:
    post:
      tags:
        - organizations
      summary: Upload organization logo
      description: |-
        Upload a logo for an organization.

        Accepts PNG, JPG, or SVG files up to 2MB.
        Automatically generates:
        - Resized logo (max 400x400)
        - Favicon (32x32)

        Updates the organization's branding data with the new URLs.
      operationId: organizations_branding_logo_create
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LogoUpload'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LogoUpload'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                  messages:
                    type: array
                    items:
                      type: string
                  data:
                    type: object
                    properties:
                      logo_url:
                        type: string
                      favicon_url:
                        type: string
          description: Logo uploaded successfully
        '400':
          description: Invalid file
        '401':
          description: Unauthorized
        '404':
          description: Organization not found
      security:
        - ApiKeyAuth: []
        - ApiKeyQueryParam: []
components:
  schemas:
    LogoUpload:
      type: object
      properties:
        logo:
          type: string
          format: uri
          description: Logo image file (PNG, JPG, or SVG, max 2MB).
      required:
        - logo
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Aegister-Token
    ApiKeyQueryParam:
      type: apiKey
      in: query
      name: X-Aegister-Token

````