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

# Get a ticket's audit log



## OpenAPI

````yaml /openapi.json get /api/v1/tickets/{ticket_id}/activity/
openapi: 3.0.3
info:
  title: ChatBridge Public API
  version: 1.0.0
  description: >-
    Customer-facing REST API for ChatBridge — contacts, conversations, messages,
    templates, team, catalogue, tickets, and WhatsApp Flows. Authenticate with a
    workspace API key: `Authorization: Bearer cb_...`. See
    https://github.com/algosmiths/whatschat/blob/main/public_api.md for the full
    scope/versioning reference.
servers:
  - url: https://api.algosmiths.com
    description: Production
security: []
paths:
  /api/v1/tickets/{ticket_id}/activity/:
    get:
      tags:
        - Tickets
      summary: Get a ticket's audit log
      operationId: tickets_activity_list
      parameters:
        - in: path
          name: ticket_id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TicketActivity'
          description: ''
      security:
        - ApiKeyAuth: []
        - tokenAuth: []
        - CookieAuth: []
components:
  schemas:
    TicketActivity:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        action:
          type: string
          maxLength: 50
        from_value:
          type: string
          maxLength: 255
        to_value:
          type: string
          maxLength: 255
        actor:
          allOf:
            - $ref: '#/components/schemas/User'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - action
        - actor
        - created_at
        - id
    User:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        username:
          type: string
          description: >-
            Required. 150 characters or fewer. Letters, digits and @/./+/-/_
            only.
          pattern: ^[\w.@+-]+$
          maxLength: 150
        first_name:
          type: string
          maxLength: 150
        last_name:
          type: string
          maxLength: 150
        email:
          title: Email address
          oneOf:
            - type: string
              format: email
              maxLength: 254
            - type: string
              maxLength: 0
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        deleted_at:
          type: string
          format: date-time
          nullable: true
        uid:
          type: string
          maxLength: 250
        is_verified:
          type: boolean
        profile_picture:
          type: string
          maxLength: 500
        locale:
          type: string
          maxLength: 10
        phone_number:
          type: string
          maxLength: 15
        name:
          type: string
          maxLength: 255
        source:
          $ref: '#/components/schemas/Source4f9Enum'
        last_login_source:
          oneOf:
            - $ref: '#/components/schemas/LastLoginSourceEnum'
            - $ref: '#/components/schemas/BlankEnum'
        country:
          type: string
          maxLength: 2
        currency:
          type: string
          maxLength: 3
        referral_code:
          type: string
          nullable: true
          maxLength: 6
        wallet_balance:
          type: string
          format: decimal
          pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
        referred_by:
          type: integer
          nullable: true
      required:
        - created_at
        - id
        - updated_at
        - username
    Source4f9Enum:
      enum:
        - unknown
        - google
        - facebook
        - fb_cat
        - email
      type: string
      description: |-
        * `unknown` - UNKNOWN
        * `google` - GOOGLE
        * `facebook` - FACEBOOK
        * `fb_cat` - FACEBOOK CATALOGUE
        * `email` - EMAIL AND PASSWORD
    LastLoginSourceEnum:
      enum:
        - unknown
        - google
        - facebook
        - fb_cat
        - email
      type: string
      description: |-
        * `unknown` - UNKNOWN
        * `google` - GOOGLE
        * `facebook` - FACEBOOK
        * `fb_cat` - FACEBOOK CATALOGUE
        * `email` - EMAIL AND PASSWORD
    BlankEnum:
      enum:
        - ''
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: cb_...
      description: >-
        Workspace API key, e.g. `Authorization: Bearer cb_live_...`. Create one
        in Settings → API Keys. See public_api.md § 3 for scopes.
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
    CookieAuth:
      type: apiKey
      in: cookie
      name: token
      description: Dashboard session cookie — internal use only, not the public contract.

````