# link.clicked

HTML: https://www.app2email.com/docs/api/webhooks/link.clicked · Index: https://www.app2email.com/docs/api/llms.txt

A recipient opened a tracked link of a broadcast or of a sequence step (https://www.app2email.com/l/...). Link previews and crawlers are not counted. Sent for every click; first_click is true for the first one of that recipient's link.

Group: Broadcasts. Header `X-App2email-Event: link.clicked`. Inside the envelope `{id, type, created, number, test?, data}` ([envelope, headers, signature](https://www.app2email.com/docs/api/webhooks.md)). Every webhook of the number gets every number event: filter by `type`.

## data

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data.contact` | string | yes |  |
| `data.url` | string | yes | The address the link opened. |
| `data.broadcast_code` | string |  |  |
| `data.sequence_id` | integer |  |  |
| `data.step_id` | integer |  |  |
| `data.first_click` | boolean | yes |  |
| `data.clicks` | integer | yes | Clicks of this recipient's link so far. |
| `data.browser` | string |  | Chrome, Safari, Firefox, Edge, Samsung Internet, Opera or Other. |
| `data.timestamp` | string | yes |  |

## Samples

### broadcast

```json
{
  "id": "evt_Cmp3k9m2Lw8Rt5Yp1Zs01",
  "type": "link.clicked",
  "created": "2026-11-19T01:00:00.000Z",
  "number": "4976659348270",
  "data": {
    "contact": "61412345678",
    "url": "https://example.com/sale",
    "broadcast_code": "k3XbQ9rTzP2mWv7",
    "sequence_id": null,
    "step_id": null,
    "first_click": true,
    "clicks": 1,
    "browser": "Chrome",
    "timestamp": "2026-11-19T01:00:00.000Z"
  }
}
```

Send it to your URL: https://www.app2email.com/docs/api/webhooks/tester?type=link.clicked
