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

# Listar assinaturas

> Lista as assinaturas da sua conta

Requer o escopo `subscriptions:read`.

<ResponseExample>
  ```json Resposta theme={null}
  {
    "data": [
      {
        "id": 15,
        "status": "active",
        "order_id": 28,
        "customer_id": 571,
        "interval": "month",
        "interval_count": 1,
        "start_date": "2026-05-12",
        "end_date": null,
        "expires_at": "2026-06-12",
        "created_at": "2026-05-12T16:46:26-03:00"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 100,
      "total": 14,
      "last_page": 1
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /subscriptions
openapi: 3.1.0
info:
  title: SpeedSellX API
  version: 1.0.0
  description: >-
    API pública da SpeedSellX para consultar e atualizar, por integração, os
    dados da sua conta: produtos, pedidos, vendas, assinaturas, métricas,
    checkouts, upsells e webhooks. Autentique com `Authorization: Bearer
    sk_live_...` e gere chaves no painel, em Desenvolvedores. Requisições que
    alteram dados exigem o header HTTP `Idempotency-Key`. Listagens aceitam
    `page`/`per_page` e retornam `{ data, meta }`.
servers:
  - url: https://api.speedsellx.io/seller/v1
    description: Produção
security: []
tags:
  - name: Produtos
  - name: Pedidos
  - name: Vendas
  - name: Assinaturas
  - name: Métricas
  - name: Upsells
  - name: Checkouts
paths:
  /subscriptions:
    get:
      tags:
        - Assinaturas
      summary: Listar assinaturas
      description: >-
        Retorna as assinaturas da conta, com paginação. Aceita o filtro opcional
        `status`.
      operationId: v1.subscriptions.index
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
        - name: per_page
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: status
          in: query
          schema:
            type: string
            maxLength: 50
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: string
                  meta:
                    type: object
                    properties:
                      current_page:
                        type: integer
                      per_page:
                        type: integer
                      total:
                        type: integer
                      last_page:
                        type: integer
                    required:
                      - current_page
                      - per_page
                      - total
                      - last_page
                required:
                  - data
                  - meta
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors

````