POST
/
api
/
http_pull_consumers
/
{consumer_name_or_id}
/
nack
curl --request POST \
  --url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/nack \
  --header 'Authorization: Bearer YOUR_API_TOKEN'\
  --header 'Content-Type: application/json' \
  --data '{
    "ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
  }'
{ "success": true }

Request parameters

consumer_name_or_id
string
required

The ID or name of the Sequin Stream.

ack_ids
string[]
required

An array of ack_id values to nack.

Each message returned by the /receive endpoint contains an ack_id that you can use to nack the message.

curl --request POST \
  --url https://api.sequinstream.com/api/http_pull_consumers/orders-pull-consumer/nack \
  --header 'Authorization: Bearer YOUR_API_TOKEN'\
  --header 'Content-Type: application/json' \
  --data '{
    "ack_ids": ["MTYyeJ7abUjl1pO", "MTYyeJ7abUjl1pP"]
  }'
{ "success": true }

Was this page helpful?