What a call holds

A POST with a JSON body and four headers.

Body
{
  "id": "01a147f9-6d70-7004-8421-113c6e67d918",
  "event": "lead.stage_changed",
  "createdAt": "2026-10-17T03:48:11.248Z",
  "data": {
    "lead": {
      "id": "01a147f9-6d70-7000-8b7d-808b3dce7f7c",
      "name": "Priya Sharma",
      "email": "priya@example.com",
      "phone": "9876500001",
      "city": "Chennai",
      "tags": [],
      "expectedValue": 45000,
      "stage": {
        "id": "01a147f9-6d27-7002-ac44-85526b0d8d5a",
        "name": "Contacted",
        "category": "ACTIVE"
      },
      "source": {
        "id": "01a147f9-6d27-701d-9dac-ff4c718ab99a",
        "name": "Google Ads"
      },
      "product": {
        "id": "01a147f9-6d27-7030-a111-0a5b5f1c0001",
        "name": "Data Science"
      },
      "owner": {
        "id": "01a147f9-6d26-7000-9981-c1af9ae45fc1",
        "name": "Asha Admin"
      },
      "createdAt": "2026-10-17T03:48:11.247Z"
    },
    "change": {
      "from": {
        "name": "New"
      },
      "to": {
        "name": "Contacted"
      }
    },
    "by": {
      "id": "01a147f9-6d26-7000-9981-c1af9ae45fc1",
      "name": "Asha Admin"
    }
  }
}
HeaderHolds
X-VisionSage-EventThe event name, e.g. lead.stage_changed
X-VisionSage-DeliveryA unique id for the call. The same id comes again on a retry.
X-VisionSage-TimestampWhen we sent it, in seconds
X-VisionSage-Signaturesha256= and the HMAC-SHA256 of timestamp.body made with your secret

change depends on the event. Calls can arrive twice or a little out of order: use the delivery id to ignore repeats.

Something missing or unclear? Tell us and we will fix this page.