Docs

link.updated

A link’s label or destination changes; the link keeps its code, so copies already shared still work.

A link’s label or destination changes; the link keeps its code, so copies already shared still work.

Every event is POSTed as JSON to each endpoint subscribed to it, signed with the endpoint’s secret. See Webhooks for verifying the signature and for retries.

Example

{
  "created": 1793600000000,
  "data": {
    "code": "k7m2pq9x",
    "created_at": 1793600000000,
    "destination_url": "https://northwind.io/pricing",
    "id": "lnk_5b8e1c03",
    "label": "Pricing page, yearly",
    "object": "link",
    "partner_id": "aff_3f9c2e81"
  },
  "id": "evt_8f3b2c1d9e4a4b6f8c2d1e0a9b8c7d6e",
  "program_id": "prg_northwind",
  "type": "link.updated"
}

Money is in minor units (4900 is $49.00) and times are milliseconds since the Unix epoch. Use id to skip an event you already handled: an event can arrive more than once, and out of order.