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

# List services

> Lists services for the authenticated center with pagination.



## OpenAPI

````yaml GET /api/public/v1/services
openapi: 3.1.0
info:
  title: Boxpilote API
  description: >-
    API for business opportunities, quotes, surfaces, rentals, insurances,
    services, products, VAT rates, and associated clients.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.boxpilote.fr
security:
  - bearerAuth: []
paths:
  /api/public/v1/services:
    get:
      description: Lists services for the authenticated center with pagination.
      parameters:
        - name: page
          in: query
          description: 'Page number (default: 1)'
          schema:
            type: integer
            default: 1
            minimum: 1
        - name: limit
          in: query
          description: 'Items per page (default: 20, max: 100)'
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: List of services with pagination
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Service'
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      limit:
                        type: integer
                      total:
                        type: integer
                      totalPages:
                        type: integer
        '401':
          description: Unauthorized / Invalid Token
          content:
            application/json:
              example:
                success: false
                message: 'Unauthorized: Invalid or missing token.'
        '500':
          description: Error fetching services
          content:
            application/json:
              example:
                success: false
                message: Erreur récupération des services
components:
  schemas:
    Service:
      type: object
      properties:
        id:
          type: string
        created_at:
          type: string
          format: date-time
        title:
          type: string
          nullable: true
        amount_ht:
          type: number
          nullable: true
          description: Amount excluding VAT
        vat_id:
          type: string
          nullable: true
        amount_ttc:
          type: number
          nullable: true
          description: Amount including VAT
        reference:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        unit:
          type: string
          nullable: true
        quantity:
          type: number
          nullable: true
        accounting_code:
          type: string
          nullable: true
        item_type:
          type: string
          nullable: true
        type:
          type: string
          nullable: true
        ref:
          type: string
          nullable: true
        online:
          type: boolean
          nullable: true
        media_url:
          type: string
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````