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

# Get a footer variant

> Retrieve a footer variant's draft and published content as LMX.



## OpenAPI

````yaml https://app.loops.so/openapi.json get /v1/footers/{footerId}/variants/{variantId}
openapi: 3.1.0
info:
  title: Loops OpenAPI Spec
  description: This is the OpenAPI Spec for the [Loops API](https://loops.so/docs/api).
  version: 1.24.0
servers:
  - url: https://app.loops.so/api
security: []
tags:
  - name: API key
  - name: Audience segments
    description: View and create audience segments
  - name: Campaigns
    description: Create and manage email campaigns
  - name: Campaign groups
    description: Organize campaigns into groups
  - name: Configuration
    description: View configuration settings
  - name: Contacts
    description: Manage contacts in your audience
  - name: Contact properties
    description: Manage contact properties
  - name: Components
    description: View email components
  - name: Email messages
    description: Manage email message content for campaigns
  - name: Events
    description: Trigger workflows with events
  - name: Event patterns
    description: View workflow event patterns
  - name: Footers
    description: Create and manage email footers
  - name: Mailing lists
    description: View mailing lists
  - name: Themes
    description: View email themes
  - name: Transactional emails
    description: Create, manage, and send transactional emails
  - name: Transactional groups
    description: Organize transactional emails into groups
  - name: Uploads
    description: Upload image assets
  - name: Workflows
    description: View and mutate workflow graphs
  - name: Workflow groups
    description: Organize workflows into groups
  - name: Workflow nodes
    description: View and mutate workflow nodes
  - name: Webhooks
    description: >-
      Events Loops sends to your configured webhook endpoint when certain events
      happen in your account. Configure an endpoint in Settings → Webhooks. Each
      account supports one webhook endpoint. Events are signed with
      `webhook-id`, `webhook-timestamp`, and `webhook-signature` headers and
      delivered at a maximum rate of 10 per second. See
      https://loops.so/docs/webhooks for setup, verification, and payload
      details.
paths:
  /v1/footers/{footerId}/variants/{variantId}:
    parameters:
      - name: footerId
        in: path
        required: true
        description: The ID of the footer.
        schema:
          type: string
          examples:
            - clf0o1t2e3r4i5d6a7b8c9d0
      - name: variantId
        in: path
        required: true
        description: The ID of the footer variant.
        schema:
          type: string
          examples:
            - clv1a2r3i4a5n6t7i8d9e0f1
    get:
      tags:
        - Footers
      summary: Get a footer variant
      description: Retrieve a footer variant's draft and published content as LMX.
      operationId: getFooterVariant
      responses:
        '200':
          description: Successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterVariant'
        '400':
          description: Invalid `footerId` or `variantId`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterFailureResponse'
        '401':
          description: Invalid API key or footers not enabled for this team.
        '404':
          description: Footer variant not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FooterFailureResponse'
        '405':
          description: Wrong HTTP request method.
      security:
        - apiKey: []
components:
  schemas:
    FooterVariant:
      type: object
      properties:
        id:
          type: string
          description: The ID of the variant.
          examples:
            - clv1a2r3i4a5n6t7i8d9e0f1
        footerId:
          type: string
          description: The ID of the footer the variant belongs to.
          examples:
            - clf0o1t2e3r4i5d6a7b8c9d0
        contentRevisionId:
          type: string
          description: >-
            The variant's current content revision. Pass it as
            `expectedRevisionId` when you update or publish the variant.
          examples:
            - clr2e3v4i5s6i7o8n9i0d1e2
        publishedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 timestamp for when the variant was last published. `null`
            if it was never published.
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 timestamp for when the variant was created.
        draftLmx:
          type: string
          description: The draft content as LMX.
          examples:
            - >-
              <Paragraph>{system.company_name}, {system.company_address}. <Link
              href="{system.unsubscribe_link}">Unsubscribe</Link></Paragraph>
        publishedLmx:
          type:
            - string
            - 'null'
          description: >-
            The published content as LMX. `null` if the variant was never
            published.
          examples:
            - >-
              <Paragraph>{system.company_name}, {system.company_address}. <Link
              href="{system.unsubscribe_link}">Unsubscribe</Link></Paragraph>
        updatedAt:
          type: string
          format: date-time
          description: >-
            ISO 8601 timestamp for when the variant's draft or published content
            last changed.
      required:
        - id
        - footerId
        - contentRevisionId
        - publishedAt
        - createdAt
        - draftLmx
        - publishedLmx
        - updatedAt
      examples:
        - id: clv1a2r3i4a5n6t7i8d9e0f1
          footerId: clf0o1t2e3r4i5d6a7b8c9d0
          contentRevisionId: clr2e3v4i5s6i7o8n9i0d1e2
          publishedAt: '2026-11-02T08:30:00.000Z'
          createdAt: '2026-10-27T10:00:00.000Z'
          draftLmx: >-
            <Paragraph>{system.company_name}, {system.company_address}. <Link
            href="{system.unsubscribe_link}">Unsubscribe</Link></Paragraph>
          publishedLmx: >-
            <Paragraph>{system.company_name}, {system.company_address}. <Link
            href="{system.unsubscribe_link}">Unsubscribe</Link></Paragraph>
          updatedAt: '2026-11-02T08:30:00.000Z'
    FooterFailureResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
      examples:
        - message: Footer not found.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

## Related topics

- [Get a footer](https://loops.so/docs/api-reference/get-footer.md)
- [Update a footer variant](https://loops.so/docs/api-reference/update-footer-variant.md)
- [Publish a footer variant](https://loops.so/docs/api-reference/publish-footer-variant.md)
- [Create a footer](https://loops.so/docs/api-reference/create-footer.md)
- [Update a footer](https://loops.so/docs/api-reference/update-footer.md)
