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

# Enviar imagem ou vídeo de mensagem rápida

> Sobe a mídia (`multipart/form-data` com `file`, `inboxId` e `type`) e devolve o caminho no storage.



## OpenAPI

````yaml https://api.jurichat.com/docs/client/openapi.json post /fast-message/media
openapi: 3.1.0
info:
  title: JuriChat API — Documentação para Integradores
  description: ''
  version: 1.0.0
servers:
  - url: https://api.jurichat.com
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /fast-message/media:
    post:
      tags:
        - FastMessages
      summary: Enviar imagem ou vídeo de mensagem rápida
      description: >-
        Sobe a mídia (`multipart/form-data` com `file`, `inboxId` e `type`) e
        devolve o caminho no storage.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  storagePath:
                    type: string
                    description: Caminho da mídia no storage.
                  previewUrl:
                    type: string
                    description: URL assinada para visualizar a mídia antes de salvar.
                  mimeType:
                    type: string
                    description: MIME type da mídia enviada.
                  fileName:
                    type: string
                    description: Nome final do arquivo salvo.
                  supportedChannels:
                    type: array
                    items:
                      type: string
                    description: Canais que entregam esse formato.
                required:
                  - storagePath
                  - previewUrl
                  - mimeType
                  - fileName
                  - supportedChannels
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  code:
                    type: string
                  details:
                    anyOf:
                      - type: string
                      - type: number
                      - type: boolean
                      - type: object
                        properties: {}
                        additionalProperties: true
                    description: Detalhes adicionais do erro.
                required:
                  - message
                  - statusCode
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-jurichat-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-jurichat-api-key.

````