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

# Responder a un thread de email

> Operacion: Responder a un thread de email.



## OpenAPI

````yaml /generated/specs/communications.json post /api/omnichannel/threads/{threadId}/reply
openapi: 3.0.0
info:
  title: Raul API - Comunicaciones
  description: Inbox, omnichannel, bandejas compartidas, email sync, WhatsApp, spam y tags.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/omnichannel/threads/{threadId}/reply:
    post:
      tags:
        - Omnichannel
      summary: Responder a un thread de email
      description: 'Operacion: Responder a un thread de email.'
      operationId: OmnichannelController_replyToThread
      parameters:
        - name: threadId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplyEmailDto'
      responses:
        '201':
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    ReplyEmailDto:
      type: object
      properties:
        body:
          type: string
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/AttachmentDto'
        shared_mailbox_id:
          type: string
          description: ID de la bandeja compartida para responder desde ella (si aplica)
        send_mode:
          type: string
          description: Modo de envío al responder desde bandeja compartida
          enum:
            - send_as
            - on_behalf_of
      required:
        - body
    AttachmentDto:
      type: object
      properties:
        name:
          type: string
          description: Nombre del archivo
        contentType:
          type: string
          description: MIME type del archivo
        contentBytes:
          type: string
          description: Contenido en base64
      required:
        - name
        - contentType
        - contentBytes
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````