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

# Get list items

> Retrieve paginated items from a specific list.



## OpenAPI

````yaml GET /lists/{listId}/items
openapi: 3.1.0
info:
  title: OpenAPI Lonescale
  description: A sample API for Lonescale
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://public-api.lonescale.com
security:
  - ApiKeyAuth: []
paths:
  /lists/{listId}/items:
    get:
      description: Retrieve paginated items from a specific list.
      parameters:
        - name: listId
          in: path
          required: true
          description: The ID of the list.
          schema:
            type: string
            format: uuid
        - name: page
          in: query
          description: Page number (50 items per page, starts at 0).
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: Paginated list items
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/ListItem'
                  hasNextPage:
                    type: boolean
                  total:
                    type: integer
        '401':
          description: Invalid or missing authentication credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
              example:
                message: Invalid API Key
                error: Unauthorized
                statusCode: 401
        '404':
          description: List not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: List not found
                error: Not Found
                statusCode: 404
components:
  schemas:
    ListItem:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the item.
        first_name:
          type: string
        last_name:
          type: string
        full_name:
          type: string
        linkedin_url:
          type: string
          format: uri
        company_name:
          type: string
        current_position:
          type: string
        domain:
          type: string
          description: Company domain (e.g., acme.com).
        location:
          type: string
        name:
          type: string
        email:
          type: string
          format: email
        contact_id:
          type: string
          description: Optional CRM record ID for this contact.
        createdAt:
          type: string
          format: date-time
    AuthError:
      required:
        - message
        - error
        - statusCode
      type: object
      properties:
        message:
          type: string
          example: Invalid API Key
        error:
          type: string
          example: Unauthorized
        statusCode:
          type: integer
          example: 401
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Provide your API key in the x-api-key header.

````