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

# Read one campaign

> While it sends, the figures are worked out as you read them.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/campaigns/{campaign}
openapi: 3.1.0
info:
  title: Lekalao API
  version: 1.0.0
  description: >-
    Everything the interface does, your application can do too. Every call
    carries an API token (Settings → API tokens).
servers:
  - url: https://{host}
    description: Your installation
    variables:
      host:
        default: lekalao.example.com
        description: The domain of your own Lekalao
security:
  - bearer: []
tags:
  - name: Lists
  - name: Subscribers
  - name: Tags
  - name: Segments
  - name: Imports
  - name: Templates
  - name: Campaigns
  - name: Automations
  - name: Transactional e-mails
  - name: Revenue
  - name: Platform
paths:
  /api/v1/campaigns/{campaign}:
    get:
      tags:
        - Campaigns
      summary: Read one campaign
      description: While it sends, the figures are worked out as you read them.
      operationId: api.campaigns.show
      parameters:
        - name: campaign
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The campaign's identifier (uuid).
      responses:
        '200':
          description: The campaign and its figures.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Campaign'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    Campaign:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        subject:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - draft
            - scheduled
            - sending
            - paused
            - sent
            - cancelled
        list:
          type:
            - string
            - 'null'
          format: uuid
        scheduled_at:
          type:
            - string
            - 'null'
          format: date-time
        sent_at:
          type:
            - string
            - 'null'
          format: date-time
        statistics:
          $ref: '#/components/schemas/CampaignStatistics'
        created_at:
          type: string
          format: date-time
    CampaignStatistics:
      type: object
      properties:
        recipients:
          type:
            - integer
            - 'null'
        sent:
          type: integer
        delivered:
          type: integer
          description: Confirmed by the provider (its feedback webhook).
        opens:
          type: integer
        unique_opens:
          type: integer
        clicks:
          type: integer
        unique_clicks:
          type: integer
        bounces:
          type: integer
        complaints:
          type: integer
        unsubscribes:
          type: integer
    Message:
      type: object
      properties:
        message:
          type: string
  responses:
    Unauthenticated:
      description: No token, or an invalid or revoked one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
          example:
            message: Unauthenticated.
    Forbidden:
      description: The token lacks the ability needed, or the team is suspended.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
    NotFound:
      description: Nothing of that uuid in the token's team.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
    TooManyRequests:
      description: >-
        The token's limit is reached. Wait the number of seconds Retry-After
        gives.
      headers:
        X-RateLimit-Limit:
          schema:
            type: integer
          description: Calls allowed per minute for this token.
        X-RateLimit-Remaining:
          schema:
            type: integer
        Retry-After:
          schema:
            type: integer
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API token. The "read" ability: GET routes only. "read + write": every
        route.

````