---
search:
  tags:
    - billing
    - POST
seo:
  description: >-
    Resolve a claimed listen delivery with the local handler's HTTP status.
    Reference for the POST /v1/cli/listen/ack endpoint in the Vortex Payments
    API.
sidebar:
  label: Resolve a claimed listen delivery with the local handler's HTTP status
  badge: POST
title: Resolve a claimed listen delivery with the local handler's HTTP status
type: openapi-operation
---
`POST /v1/cli/listen/ack`

**curl**

```bash
curl "https://api.vortex.nyc/v1/cli/listen/ack?environment=sandbox" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpointId":"we_...","deliveryId":"wd_...","attempt":1,"statusCode":200}'
```

**TypeScript**

```ts
import { ackCliListenDelivery, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await ackCliListenDelivery({
  client: vortex,
  query: { environment: "sandbox" },
  body: {"endpointId":"we_...","deliveryId":"wd_...","attempt":1,"statusCode":200},
});
```

**Request body** (`application/json`, required)

- `endpointId` (string, required) — The listen endpoint the delivery was claimed under.
- `deliveryId` (string, required)
- `attempt` (integer, required) — The claim epoch \`next\` returned — binds the ack to that exact claim.
- `statusCode` (integer, required) — HTTP status the local handler answered with.

Request body example:

```json
{
  "endpointId": "we_...",
  "deliveryId": "wd_...",
  "attempt": 1,
  "statusCode": 200
}
```

**Responses**

- `200` — Success
- `400` — Bad request, including malformed JSON
- `401` — Missing or invalid API key
- `404` — Route or scoped resource was not found
- `409` — Conflict, including idempotency body drift
- `422` — Validation failed
- `429` — API key rate limit exceeded
- `default` — Error

Response example, 200:

```json
{
  "data": {
    "deliveryId": "string",
    "status": "delivered"
  },
  "requestId": "string"
}
```
