curl --request POST \
--url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/ack \
--header 'Authorization: Bearer YOUR_API_TOKEN'\
--header 'Content-Type: application/json' \
--data '{
"ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
}'
{ "success": true }
Ack messages in a Sequin Stream
curl --request POST \
--url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/ack \
--header 'Authorization: Bearer YOUR_API_TOKEN'\
--header 'Content-Type: application/json' \
--data '{
"ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
}'
{ "success": true }
ack_id
values to acknowledge.Each message returned by the /receive
endpoint contains an ack_id
that you can use to acknowledge the message.curl --request POST \
--url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/ack \
--header 'Authorization: Bearer YOUR_API_TOKEN'\
--header 'Content-Type: application/json' \
--data '{
"ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
}'
{ "success": true }