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

# List developer events

> Returns a paginated, filtered slice of the unified event log. Events cover post lifecycle, inbox activity, account changes, and webhook deliveries. Retention varies by plan tier; the response includes the user's current retention window.



## OpenAPI

````yaml /api-reference/openapi.json get /events
openapi: 3.0.0
info:
  description: >-
    Unified social media inbox API. Read and respond to comments, DMs, reviews,
    and mentions across Instagram, Facebook, Threads, Google Business Profile,
    TikTok, LinkedIn, and YouTube through a single REST API. X/Twitter and
    Trustpilot coming soon.
  title: SocialAPI.AI
  contact:
    name: SocialAPI.AI Support
    email: support@social-api.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.social-api.ai/v1
security: []
paths:
  /events:
    get:
      tags:
        - Events
      summary: List developer events
      description: >-
        Returns a paginated, filtered slice of the unified event log. Events
        cover post lifecycle, inbox activity, account changes, and webhook
        deliveries. Retention varies by plan tier; the response includes the
        user's current retention window.
      parameters:
        - description: Filter by event category
          name: category
          in: query
          schema:
            type: string
        - description: Filter by status (ok, failed)
          name: status
          in: query
          schema:
            type: string
        - description: Filter by platform
          name: platform
          in: query
          schema:
            type: string
        - description: Filter by connected account ID
          name: account_id
          in: query
          schema:
            type: string
        - description: Filter by resource ID (post, conversation, ...)
          name: resource_id
          in: query
          schema:
            type: string
        - description: Filter by action (e.g. post.published)
          name: action
          in: query
          schema:
            type: string
        - description: Lower time bound (RFC3339)
          name: from
          in: query
          schema:
            type: string
        - description: Upper time bound (RFC3339)
          name: to
          in: query
          schema:
            type: string
        - description: Pagination cursor from a previous response
          name: cursor
          in: query
          schema:
            type: string
        - description: Page size (default 50)
          name: limit
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.EventsListResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api_endpoints.EventsListResponse:
      type: object
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/api_endpoints.EventResponse'
        pagination:
          $ref: '#/components/schemas/api_endpoints.PaginationInfo'
        retention_days:
          type: integer
          example: 30
    api_endpoints.ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/api_endpoints.ErrorBody'
    api_endpoints.EventResponse:
      type: object
      properties:
        account_id:
          type: string
        action:
          type: string
          example: publish
        category:
          type: string
          example: post
        created_at:
          type: string
          example: '2026-03-27T10:00:00Z'
        duration_ms:
          type: integer
          example: 230
        error_category:
          type: string
          example: validation
        error_message:
          type: string
        id:
          type: string
        metadata:
          type: object
          additionalProperties: {}
        platform:
          type: string
          example: instagram
        resource_id:
          type: string
        status:
          type: string
          example: success
        status_code:
          type: integer
          example: 400
        summary:
          type: string
          example: Published to Instagram
    api_endpoints.PaginationInfo:
      type: object
      properties:
        has_more:
          type: boolean
        limit:
          type: integer
          example: 25
        next_cursor:
          type: string
    api_endpoints.ErrorBody:
      type: object
      properties:
        code:
          type: string
          example: resource.not_found
        message:
          type: string
          example: Account not found
        meta:
          type: object
          additionalProperties: {}
  securitySchemes:
    BearerAuth:
      description: >-
        Prefix your API key with "Bearer ". Example: `Authorization: Bearer
        sapi_key_...`
      type: apiKey
      name: Authorization
      in: header

````