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

# List subscriptions

> **Beta** — this endpoint may change before general availability.



## OpenAPI

````yaml /api-reference/openapi.json get /subscriptions
openapi: 3.1.0
info:
  title: Replo Public API
  version: '2026-11-20'
servers:
  - url: https://api.replo.app/v1
security: []
paths:
  /subscriptions:
    get:
      tags:
        - Subscriptions
      summary: List subscriptions
      description: '**Beta** — this endpoint may change before general availability.'
      operationId: subscriptions.list
      parameters:
        - name: Replo-Api-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2026-11-20'
          description: The public API version to use for this request.
        - schema:
            type: string
            format: uuid
            description: Project ID.
          required: true
          description: Project ID.
          name: projectId
          in: query
        - schema:
            type: string
            minLength: 1
            maxLength: 200
            description: next_cursor of the page before.
          required: false
          description: next_cursor of the page before.
          name: cursor
          in: query
        - schema:
            type: integer
            exclusiveMinimum: 0
            maximum: 100
            description: Page size, default 50.
          required: false
          description: Page size, default 50.
          name: limit
          in: query
        - schema:
            type: string
            enum:
              - active
              - paused
              - failed
              - cancelled
            description: Only this status.
          required: false
          description: Only this status.
          name: status
          in: query
        - schema:
            type: string
            format: email
            description: Only this shopper.
          required: false
          description: Only this shopper.
          name: customerEmail
          in: query
      responses:
        '200':
          description: List subscriptions
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SubscriptionSummary'
                  has_more:
                    type: boolean
                  next_cursor:
                    type:
                      - string
                      - 'null'
                required:
                  - object
                  - data
                  - has_more
                  - next_cursor
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/InvalidCredentials'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - bearerAuth: []
components:
  schemas:
    SubscriptionSummary:
      type: object
      properties:
        object:
          type: string
          enum:
            - subscription
        id:
          type: string
          format: uuid
        projectId:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - active
            - paused
            - failed
            - cancelled
          description: >-
            `failed` means the last charge was declined and Replo is retrying
            the card.
        cancelReason:
          type:
            - string
            - 'null'
          enum:
            - buyer
            - merchant
            - paymentFailed
            - null
          description: >-
            Who ended it: the shopper (`buyer`), the store (`merchant`), or
            Replo after every retry failed (`paymentFailed`).
        cancelledAt:
          type:
            - string
            - 'null'
        currencyCode:
          type: string
        shippingAmount:
          type: integer
          description: Shipping charged on each renewal.
        renewalAmount:
          type: integer
          description: 'What each renewal charges: the lines plus shipping.'
        billingInterval:
          type: string
          enum:
            - day
            - week
            - month
            - year
        billingIntervalCount:
          type: integer
          minimum: 1
          maximum: 365
        nextBillingDate:
          type:
            - string
            - 'null'
          description: >-
            When the card is charged next; the retry date while `failed`. Null
            while paused or cancelled.
        cyclesCompleted:
          type: integer
          description: Paid orders so far, counting the checkout order.
        failedAttemptCount:
          type: integer
          description: Declined charges in a row; resets when one succeeds.
        originOrderId:
          type: string
          format: uuid
          description: The checkout order that started the subscription.
        createdAt:
          type: string
        lines:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              variantId:
                type: string
                format: uuid
              productTitle:
                type: string
              variantTitle:
                type:
                  - string
                  - 'null'
              sellingPlanId:
                type: string
                format: uuid
              sellingPlanName:
                type: string
              quantity:
                type: integer
              unitPrice:
                type: integer
                description: Charged per unit on each renewal, in minor units.
            required:
              - id
              - variantId
              - productTitle
              - variantTitle
              - sellingPlanId
              - sellingPlanName
              - quantity
              - unitPrice
        billingAttempts:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              billingDate:
                type: string
                description: The charge date this attempt was for.
              status:
                type: string
                enum:
                  - pending
                  - succeeded
                  - failed
              amount:
                type: integer
              errorMessage:
                type:
                  - string
                  - 'null'
                description: Why the card was declined, in the bank's words.
              orderId:
                type:
                  - string
                  - 'null'
                format: uuid
                description: >-
                  The renewal order this charge paid for. Null on a failed
                  charge, and for a few seconds after a successful one while the
                  order is created.
              createdAt:
                type: string
            required:
              - id
              - billingDate
              - status
              - amount
              - errorMessage
              - orderId
              - createdAt
          description: Renewal charges, newest first.
      required:
        - object
        - id
        - projectId
        - status
        - cancelReason
        - cancelledAt
        - currencyCode
        - shippingAmount
        - renewalAmount
        - billingInterval
        - billingIntervalCount
        - nextBillingDate
        - cyclesCompleted
        - failedAttemptCount
        - originOrderId
        - createdAt
        - lines
        - billingAttempts
    PublicApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
            issues:
              type: array
              items:
                type: object
                properties:
                  param:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Dotted path to the failing field within the request body,
                      query or path, e.g. "name" or "variants.0.available"; null
                      when the rule covers the whole input.
                  message:
                    type: string
                    description: Why the field was rejected.
                required:
                  - param
                  - message
              description: >-
                Present on an invalid_request whose input failed validation:
                each failing field and why, at most 10.
          required:
            - code
            - message
            - doc_url
      required:
        - error
  responses:
    InvalidRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    InvalidCredentials:
      description: >-
        Missing or invalid Replo Public API token. Send an active key as
        `Authorization: Bearer replo_sk_...`; if it was revoked, create a new
        key in Replo Settings.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    Forbidden:
      description: >-
        You are not authorized to access this resource. Ask a workspace owner to
        perform this action or to grant the key's creator access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    NotFound:
      description: >-
        Not Found. The resource may not exist, this key may lack the required
        scope, or the key's creator may have lost access. Check the key's scopes
        in Replo Settings and the creator's project or workspace access; a
        workspace owner can grant access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    Conflict:
      description: The resource is in a conflicting state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    PayloadTooLarge:
      description: File content exceeds the 10 MiB limit.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    RateLimitExceeded:
      description: >-
        Too many requests. Please retry after the time indicated by the
        Retry-After header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    InternalError:
      description: An internal error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
    ServiceUnavailable:
      description: Service temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.