---
search:
  tags:
    - Webhooks
    - POST
    - Webhook
seo:
  description: >-
    Sent when a queued lead is accepted. A retry posts the same id. Reference
    for the POST lead.delivered webhook in the Comarketing API.
sidebar:
  label: lead.delivered
  badge: POST
title: lead.delivered
type: openapi-operation
---
Sent when a queued lead is accepted. A retry posts the same `id`.

`POST lead.delivered`

**Webhook.** The API sends this request to your endpoint.

**Payload** (`application/json`, required)

- `id` (string, required)
- `type` (string, required)
- `leadId` (string, required)
- `agreementId` (string, required)
- `origin` (string, required)
- `status` (string, required)

Payload example:

```json
{
  "id": "evt_id",
  "type": "lead.delivered",
  "leadId": "lead_id",
  "agreementId": "agr_id",
  "origin": "api",
  "status": "pending"
}
```

**Responses**

- `200` — Any success status acknowledges the event. Other statuses are retried.
