POST
/
v1
/
http-consumers
/
{id}
/
ack
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"]
  }'
<No content>

Request parameters

id
string
required

ID of the consumer.

ack_tokens
string[]
required

An array of ack_token values to acknowledge.

Each message returned by the /next endpoint contains an ack_token that you can use to acknowledge the message.

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"]
  }'
<No content>