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

# Acknowledge a CLI webhook event

> Report the status your local server returned for an event from the pending feed. Any 2xx marks the delivery successful; anything else records a failure. Acknowledged events leave the pending feed and appear in the dashboard event log with the reported result. Only valid for endpoints created with `delivery_mode: cli`.



## OpenAPI

````yaml post /v1/webhooks/{id}/events/{event_id}/ack
openapi: 3.0.0
info:
  title: Creem API
  description: >-
    Creem is an all-in-one platform for managing subscriptions and recurring
    revenue, tailored specifically for today's SaaS companies. It enables you to
    boost revenue, enhance customer retention, and scale your operations
    seamlessly.
  version: v1
  contact:
    name: Creem Support
    url: https://creem.io
    email: support@creem.io
  license:
    name: Commercial
    url: https://creem.io/terms
  termsOfService: https://creem.io/terms
servers:
  - url: https://api.creem.io
    description: Production — live API for processing real transactions and data.
    x-speakeasy-server-id: prod
  - url: https://test-api.creem.io
    description: Test — sandbox API for development and testing with no real charges.
    x-speakeasy-server-id: test
security: []
tags: []
externalDocs:
  description: Creem Documentation
  url: https://docs.creem.io
paths:
  /v1/webhooks/{id}/events/{event_id}/ack:
    post:
      tags:
        - Webhooks
      summary: Acknowledge a CLI webhook event
      description: >-
        Report the status your local server returned for an event from the
        pending feed. Any 2xx marks the delivery successful; anything else
        records a failure. Acknowledged events leave the pending feed and appear
        in the dashboard event log with the reported result. Only valid for
        endpoints created with `delivery_mode: cli`.
      operationId: acknowledgeWebhookEvent
      parameters:
        - name: id
          required: true
          in: path
          description: The webhook ID
          schema:
            type: string
        - name: event_id
          required: true
          in: path
          description: The event ID from the pending feed
          schema:
            type: string
      requestBody:
        required: true
        description: The local delivery result
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcknowledgeWebhookEventRequestEntity'
      responses:
        '200':
          description: Successfully acknowledged the event
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEventAckEntity'
        '400':
          description: Bad Request - Invalid input parameters
        '401':
          description: Unauthorized - Invalid or missing API key
        '404':
          description: Not Found - Resource does not exist
      security:
        - ApiKey: []
components:
  schemas:
    AcknowledgeWebhookEventRequestEntity:
      type: object
      properties:
        status_code:
          type: number
          description: >-
            The HTTP status code the local server answered with. Any 2xx marks
            the delivery successful. Report 503 when the local server could not
            be reached.
          example: 200
          minimum: 100
          maximum: 599
        response_body:
          type: string
          description: >-
            The response body the local server returned, truncated to 10,000
            characters. Shown in the dashboard event log.
          example: OK
      required:
        - status_code
    WebhookEventAckEntity:
      type: object
      properties:
        id:
          type: string
          description: The acknowledged event ID.
          example: evt_5Xb2mQ7vN1pLk9RtYw3zA
        object:
          type: string
          description: >-
            A string representing the object’s type. Objects of the same type
            share the same value.
          example: webhook_event
        success:
          type: boolean
          description: >-
            Whether the first acknowledgment recorded a successful delivery (any
            2xx). Repeated acknowledgments return the stored result.
          example: true
      required:
        - id
        - object
        - success
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. You can find your API key in the Creem
        dashboard under Settings > API Keys.

````