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

# List what one person did

> The events of one person, most recent first. An address the team does not know answers an empty list, not a 404.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/events
openapi: 3.1.0
info:
  title: Lekalao API
  version: 1.0.0
  description: >-
    Everything the interface does, your application can do too. Every call
    carries an API token (Settings → API tokens).
servers:
  - url: https://api.lekalao.com
    description: Lekalao
  - url: https://{host}/api
    description: Your own installation
    variables:
      host:
        default: lekalao.example.com
        description: The domain of your installation
security:
  - bearer: []
tags:
  - name: Lists
  - name: Subscribers
  - name: Tags
  - name: Segments
  - name: Imports
  - name: Templates
  - name: Campaigns
  - name: Automations
  - name: Transactional e-mails
  - name: Revenue
  - name: Contact fields
  - name: Events
  - name: Webhooks
  - name: Platform
paths:
  /v1/events:
    get:
      tags:
        - Events
      summary: List what one person did
      description: >-
        The events of one person, most recent first. An address the team does
        not know answers an empty list, not a 404.
      operationId: api.events.index
      parameters:
        - name: email
          in: query
          required: true
          schema:
            type: string
            format: email
        - name: name
          in: query
          schema:
            type: string
          description: Only the events of that name.
        - name: per_page
          in: query
          schema:
            type: integer
            default: 50
            maximum: 200
      responses:
        '200':
          description: The events.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ContactEvent'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    ContactEvent:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: order
        properties:
          type: object
          additionalProperties: true
        value:
          type:
            - integer
            - 'null'
          description: In the smallest unit of the currency.
        currency:
          type:
            - string
            - 'null'
          example: XAF
        source:
          type: string
          example: api
        occurred_at:
          type: string
          format: date-time
    Message:
      type: object
      properties:
        message:
          type: string
    ValidationError:
      type: object
      properties:
        message:
          type: string
          example: The email field must be a valid email address.
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
  responses:
    Unauthenticated:
      description: No token, or an invalid or revoked one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
          example:
            message: Unauthenticated.
    Forbidden:
      description: The token lacks the ability needed, or the team is suspended.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
    ValidationFailed:
      description: Invalid data.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    TooManyRequests:
      description: >-
        The token's limit is reached. Wait the number of seconds Retry-After
        gives.
      headers:
        X-RateLimit-Limit:
          schema:
            type: integer
          description: Calls allowed per minute for this token.
        X-RateLimit-Remaining:
          schema:
            type: integer
        Retry-After:
          schema:
            type: integer
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API token. The "read" ability: GET routes only. "read + write": every
        route.

````