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

# List Campaign Entries API

> List a campaign's entries, including rows that failed upload validation together with their failure code.



## OpenAPI

````yaml GET /workflow-campaigns/{campaign_id}/entries
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
paths:
  /workflow-campaigns/{campaign_id}/entries:
    get:
      description: >-
        Lists a campaign's entries, including `failed_validation` rows with
        their failure code in `validation_error`.
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: string
            format: uuid
          description: The unique `id` of the campaign
        - in: query
          name: status
          required: false
          schema:
            type: string
            enum:
              - pending
              - failed_validation
              - dispatched
              - completed
          description: Only entries in this status.
        - in: query
          name: sort_by
          required: false
          schema:
            type: string
            enum:
              - created_at
              - reference_id
              - status
            default: created_at
          description: Sort field.
        - in: query
          name: order
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
          description: Sort direction.
        - in: query
          name: limit
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
          description: Number of results per page.
        - in: query
          name: offset
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
          description: Number of results to skip.
      responses:
        '200':
          description: Paginated list of entries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowEntryList'
        '404':
          description: Campaign not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowError'
components:
  schemas:
    WorkflowEntryList:
      type: object
      required:
        - items
        - total
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowEntry'
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    WorkflowError:
      type: object
      description: >-
        Error envelope returned by every workflow endpoint. `detail.code` is a
        stable machine-readable code; extra keys (such as `current_revision` on
        `revision_conflict`, `execution_id` on `duplicate_run`, or `issues` on
        `invalid_definition`) ride alongside it.
      required:
        - detail
      properties:
        detail:
          type: object
          additionalProperties: true
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Machine-readable error code.
              example: revision_conflict
            message:
              type: string
              description: Human-readable explanation.
    WorkflowEntry:
      type: object
      required:
        - id
        - reference_id
        - status
      properties:
        id:
          type: string
          format: uuid
        reference_id:
          type: string
        mobile_number:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        custom_fields:
          type: object
        status:
          type: string
          enum:
            - pending
            - failed_validation
            - dispatched
            - completed
        validation_error:
          type: string
          nullable: true
          description: The failure code when `status` is `failed_validation`.
        execution_id:
          type: string
          nullable: true
          description: The execution created for this entry once dispatched.
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````