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

# Listar Outbox

> Lista as mensagens no outbox de um canal



## OpenAPI

````yaml GET /api/v1/admin/channel/{channelId}/outbox
openapi: 3.0.4
info:
  title: MessageFy API
  description: >-
    API de mensageria multi-canal do MessageFy. Envie e receba mensagens via
    WhatsApp, HTTP, Telegram e outros canais com uma API unificada.
  version: v1
servers:
  - url: https://api-dev.messagefy.io
security:
  - apiKey: []
tags:
  - name: Me
  - name: Configure
  - name: DeleteMessage
  - name: EditMessage
  - name: MessageOutbox
  - name: SearchMessage
  - name: SendMessage
  - name: Account
  - name: ApiKey
  - name: Channel
  - name: Outbox
paths:
  /api/v1/admin/channel/{channelId}/outbox:
    get:
      tags:
        - Outbox
      parameters:
        - name: channelId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: OrganizationId
          in: query
          schema:
            type: string
            format: uuid
        - name: AccountId
          in: query
          schema:
            type: string
            format: uuid
        - name: ChannelId
          in: query
          schema:
            type: string
            format: uuid
        - name: Statuses
          in: query
          schema:
            type: array
            items:
              type: integer
              format: int32
        - name: From
          in: query
          schema:
            type: string
            format: date-time
        - name: To
          in: query
          schema:
            type: string
            format: date-time
        - name: Page
          in: query
          schema:
            type: integer
            format: int16
        - name: PerPage
          in: query
          schema:
            type: integer
            format: int16
      responses:
        '200':
          description: OK
          content:
            text/plain; v=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HttpSenderOutboxEntryDTO'
            application/json; v=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HttpSenderOutboxEntryDTO'
            text/json; v=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HttpSenderOutboxEntryDTO'
        '400':
          description: Bad Request
          content:
            text/plain; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            text/plain; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json; v=1.0:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    HttpSenderOutboxEntryDTO:
      type: object
      properties:
        httpSenderOutboxEntryId:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
          nullable: true
        accountId:
          type: string
          format: uuid
          nullable: true
        channelType:
          type: string
        provider:
          type: string
        channelId:
          type: string
          format: uuid
        priority:
          type: integer
          format: uint8
        httpSenderOutboxStatusId:
          type: integer
          format: int32
        url:
          type: string
          nullable: true
        statusName:
          type: string
          nullable: true
        contentType:
          type: string
          nullable: true
        correlationId:
          type: string
          nullable: true
        retryCount:
          type: integer
          format: int32
        createdAt:
          type: string
          format: date-time
        sentAt:
          type: string
          format: date-time
          nullable: true
        failedAt:
          type: string
          format: date-time
          nullable: true
        responseStatusCode:
          type: integer
          format: int32
          nullable: true
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
  securitySchemes:
    apiKey:
      type: apiKey
      description: >-
        Chave de API fornecida pelo painel administrativo do MessageFy. Enviada
        no header de cada requisição. O gateway APISIX valida a chave e injeta
        os headers X-Consumer-* automaticamente.
      name: X-API-KEY
      in: header

````