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

# Get Customer Timeline

> Get customer timeline entries. Use category=loyalty to focus loyalty events.



## OpenAPI

````yaml GET /customer/api/open/v1/loyalty/customers/{customerId}/timeline
openapi: 3.1.0
info:
  title: Customer Loyalty API
  description: Loyalty wallet, redemption, and history endpoints from customer service.
  version: 1.0.0
servers:
  - url: https://api.bitbybit.studio
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /customer/api/open/v1/loyalty/customers/{customerId}/timeline:
    get:
      tags:
        - Loyalty - Customer
      summary: Get customer timeline (including loyalty events)
      description: >-
        Get customer timeline entries. Use category=loyalty to focus loyalty
        events.
      operationId: getCustomerTimeline
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
        - name: months
          in: query
          schema:
            type: string
        - name: category
          in: query
          schema:
            type: string
            enum:
              - support
              - loyalty
              - system
        - name: limit
          in: query
          schema:
            type: integer
        - name: after
          in: query
          schema:
            type: string
        - name: before
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TimelineEntry'
                  meta:
                    $ref: '#/components/schemas/TimelineMeta'
components:
  schemas:
    TimelineEntry:
      type: object
      properties:
        id:
          type: string
        customerId:
          type: string
        type:
          type: string
        source:
          type:
            - string
            - 'null'
        edit_log:
          type:
            - string
            - 'null'
        notes:
          type:
            - string
            - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    TimelineMeta:
      type: object
      properties:
        startCursor:
          type:
            - string
            - boolean
        endCursor:
          type: string
        hasNextPage:
          type: boolean
        hasPreviousPage:
          type: boolean
        total:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      description: API key for authentication. Create one in Settings > Developer.
      name: x-api-key
      in: header
      type: apiKey

````