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

# List webhook logs

> Lists the webhook's deliveries, newest first, with the body sent and the endpoint's answer. Page size is set by the server: read `meta.per_page`.



## OpenAPI

````yaml /openapi.json get /webhooks/{webhook}/logs
openapi: 3.1.0
info:
  title: TryPost API
  version: 2.0.0
  description: >-
    REST API for TryPost. Authenticate with a workspace API key as a Bearer
    token.
servers:
  - url: https://app.trypost.it/api
    description: TryPost Cloud
security:
  - bearerAuth: []
tags:
  - name: Posts
    description: Create, read, update, delete and preview posts.
  - name: Post notes
    description: Internal notes on a post, visible to workspace members.
  - name: Approvals
    description: Approve or reject posts waiting for approval.
  - name: Recurrence
    description: Make a post repeat on a schedule.
  - name: Media and uploads
    description: Upload files and attach media to posts.
  - name: Social accounts
    description: Connected social accounts and their network-specific options.
  - name: Channels
    description: A channel's posting schedule and queue.
  - name: Ideas
    description: Ideas on the Create board.
  - name: Idea stages
    description: The groups (columns) of the ideas board.
  - name: Analytics
    description: Workspace and channel insights.
  - name: Labels
    description: Labels to organize posts and ideas.
  - name: Signatures
    description: Reusable text to append to posts.
  - name: Workspace
    description: The workspace the API key belongs to.
  - name: API keys
    description: Personal API keys for this workspace.
  - name: Webhooks
    description: Outgoing webhooks and their delivery logs.
  - name: Repurposes
    description: Automations that republish videos posted outside TryPost.
  - name: Platform
    description: Platform capabilities and content types.
paths:
  /webhooks/{webhook}/logs:
    parameters:
      - $ref: '#/components/parameters/WebhookId'
    get:
      tags:
        - Webhooks
      summary: List webhook logs
      description: >-
        Lists the webhook's deliveries, newest first, with the body sent and the
        endpoint's answer. Page size is set by the server: read `meta.per_page`.
      operationId: listWebhookLogs
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
      responses:
        '200':
          description: A page of deliveries.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebhookLog'
                  links:
                    $ref: '#/components/schemas/PaginationLinks'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
              example:
                data:
                  - id: 9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f
                    event_type: post.published
                    payload:
                      id: 9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f
                      type: post.published
                      data:
                        id: 9d3c1f2a-6b4e-4c8a-9f1e-2a7b5c8d0e41
                        workspace_id: 9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d
                        user_id: 9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e
                        status: published
                        created_via: api
                        content: >-
                          We just shipped scheduled threads. Here is how they
                          work.
                        scheduled_at: '2026-10-08T14:00:00+00:00'
                        published_at: '2026-10-08T14:00:02+00:00'
                        created_at: '2026-10-08T13:20:11+00:00'
                        updated_at: '2026-10-08T14:00:02+00:00'
                        author:
                          id: 9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e
                          name: Ana Souza
                        workspace:
                          id: 9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d
                          name: TryPost
                        labels:
                          - id: 9c0d1e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f
                            name: Launch
                            color: '#2563EB'
                        media: []
                        platforms:
                          - id: 9d3c1f2b-1a2b-4c3d-8e4f-5a6b7c8d9e10
                            social_account_id: 9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54
                            platform: x
                            content_type: x_post
                            enabled: true
                            status: published
                            platform_post_id: '1843456789012345678'
                            platform_url: https://x.com/trypostit/status/1843456789012345678
                            published_at: '2026-10-08T14:00:02+00:00'
                            error_message: null
                            error_context: null
                            display_name: TryPost
                            display_username: trypostit
                            display_avatar: >-
                              https://pbs.twimg.com/profile_images/1790000000000000000/avatar_400x400.jpg
                            meta: []
                            social_account:
                              id: 9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54
                              platform: x
                              display_name: TryPost
                              username: trypostit
                              status: connected
                      created_at: '2026-10-08T14:00:02+00:00'
                    response_status: 200
                    response_body: ok
                    delivered_at: '2026-10-08T14:00:03+00:00'
                    failed_at: null
                    attempts: 1
                    created_at: '2026-10-08T14:00:02+00:00'
                links:
                  first: >-
                    https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1
                  last: >-
                    https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1
                  prev: null
                  next: null
                meta:
                  current_page: 1
                  from: 1
                  last_page: 1
                  links:
                    - url: null
                      label: '&laquo; Previous'
                      page: null
                      active: false
                    - url: >-
                        https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1
                      label: '1'
                      page: 1
                      active: true
                    - url: null
                      label: Next &raquo;
                      page: null
                      active: false
                  path: >-
                    https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs
                  per_page: 25
                  to: 1
                  total: 1
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    WebhookId:
      name: webhook
      in: path
      required: true
      description: Webhook id. A webhook of another workspace returns `404`.
      schema:
        type: string
        format: uuid
      example: 9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e
  schemas:
    WebhookLog:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Delivery id. It is also the `id` of the delivered body.
        event_type:
          $ref: '#/components/schemas/WebhookEventType'
        payload:
          type: object
          description: >-
            The body that was sent: `{id, type, data, created_at}`. `data` is
            the post (`id, workspace_id, user_id, status, created_via, content,
            scheduled_at, published_at, created_at, updated_at, author,
            workspace, labels, media, platforms`), or `{id, workspace_id}` for
            `post.deleted`.
        response_status:
          type:
            - integer
            - 'null'
        response_body:
          type:
            - string
            - 'null'
          description: First 2000 bytes of the endpoint's answer, or the connection error.
        delivered_at:
          type:
            - string
            - 'null'
          format: date-time
          description: ISO 8601, UTC.
        failed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: ISO 8601, UTC.
        attempts:
          type: integer
          description: Attempts made for this delivery (up to 3).
        created_at:
          type: string
          format: date-time
          description: ISO 8601, UTC.
          examples:
            - '2026-10-08T14:00:02+00:00'
    PaginationLinks:
      type: object
      properties:
        first:
          type:
            - string
            - 'null'
        last:
          type:
            - string
            - 'null'
        prev:
          type:
            - string
            - 'null'
        next:
          type:
            - string
            - 'null'
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
        from:
          type:
            - integer
            - 'null'
        last_page:
          type: integer
        links:
          type: array
          items:
            type: object
            properties:
              url:
                type:
                  - string
                  - 'null'
              label:
                type: string
              page:
                type:
                  - integer
                  - 'null'
              active:
                type: boolean
        path:
          type: string
        per_page:
          type: integer
          description: Page size set by the server. Read it; do not assume a value.
        to:
          type:
            - integer
            - 'null'
        total:
          type: integer
    WebhookEventType:
      type: string
      enum:
        - post.created
        - post.scheduled
        - post.unscheduled
        - post.published
        - post.partially_published
        - post.failed
        - post.deleted
      description: >-
        - `post.created`: a post was created. Its `data.status` is the status it
        was created with (`draft`, `scheduled`, `publishing` or
        `pending_approval`).

        - `post.scheduled`: an existing post was scheduled (for example a draft
        scheduled, or a request approved). A post created already scheduled
        sends only `post.created`.

        - `post.unscheduled`: a scheduled post went back to draft or to pending
        approval.

        - `post.published`: every destination was published.

        - `post.partially_published`: some destinations were published and
        others failed.

        - `post.failed`: publishing failed.

        - `post.deleted`: a post was deleted. Not sent for posts imported from
        the network or removed by disconnecting their channel. Its `data` is
        only `{id, workspace_id}`.
    ErrorBody:
      type: object
      properties:
        message:
          type: string
    RateLimitErrorBody:
      type: object
      properties:
        name:
          type: string
          const: rate_limit_exceeded
        message:
          type: string
          examples:
            - Rate limit exceeded. Please retry after 30 seconds.
  responses:
    Unauthorized:
      description: >-
        Missing, invalid, revoked or expired API key. Bodies: `Unauthenticated.`
        (no key, or a key that is invalid or revoked), `Token expired.` (past
        its `expires_at`), `Token not found.` and `No workspace selected.` (the
        key is no longer bound to a workspace).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorBody'
          example:
            message: Unauthenticated.
    PaymentRequired:
      description: >-
        TryPost Cloud only: the workspace's account has no active subscription
        or trial. Body: `{"message": "Active subscription required."}`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorBody'
          example:
            message: Active subscription required.
    Forbidden:
      description: >-
        The request is not allowed. API keys work only for workspace admins (the
        account owner or a member marked as admin): otherwise every request
        returns `Insufficient workspace permissions.`. Other bodies: `Workspace
        access denied.` (the key's user left the workspace) and `Personal access
        token required.` (an MCP OAuth token was sent) and `This action is
        unauthorized.` (the note belongs to another member).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorBody'
    NotFound:
      description: The resource does not exist in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorBody'
    TooManyRequests:
      description: 'Rate limit exceeded. Limits: 60 requests per minute per workspace.'
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorBody'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Workspace API key from Settings → API Keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.