> ## 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 upsells

> Lista seus upsells, paginados

Requer o escopo `upsells:read`.

<ResponseExample>
  ```json Resposta theme={null}
  {
    "data": [
      {
        "id": 12,
        "product_id": 3256,
        "funnel_id": 4,
        "name": "Oferta complementar",
        "status": "active",
        "accept_text": "Sim, quero!",
        "refuse_text": "Não, obrigado",
        "accept_page": null,
        "refuse_page": null,
        "accept_redirect": null,
        "refuse_redirect": null,
        "created_at": "2026-06-01T10:00:00-03:00",
        "updated_at": "2026-06-01T10:00:00-03:00"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 100,
      "total": 3,
      "last_page": 1
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /upsells
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:
  /upsells:
    get:
      tags:
        - Upsells
      summary: Listar upsells
      description: Retorna os upsells de um produto (`product_id` obrigatório), paginados.
      operationId: v1.upsells.index
      parameters:
        - name: product_id
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
        - 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
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                        const: not_found
                      message:
                        type: string
                        const: Product not found.
                    required:
                      - type
                      - message
                required:
                  - error
        '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

````