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

# Ack messages

> Ack messages for an HTTP stream consumer

## Request parameters

<ParamField path="id" type="string" required>
  ID of the consumer.
</ParamField>

<ParamField body="ack_tokens" type="string[]" required>
  An array of `ack_token` values to acknowledge.

  Each message returned by the [`/next` endpoint](/streams/consume/next) contains an `ack_token` that you can use to acknowledge the message.
</ParamField>

<RequestExample>
  ```shell theme={null}
  curl --request POST \
    --url https://api.sequin.io/v1/http-consumers/c906b4a4-0cda-4f46-bd80-255f570c195d/ack \
    --header 'Authorization: Bearer YOUR_API_TOKEN'\
    --header 'Content-Type: application/json' \
    --data '{
      "ack_tokens": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 204 OK theme={null}
  <No content>
  ```
</ResponseExample>
