Contacts

Events that occur when a new lead is created or updated.

contact.created

{
  "data": {
    "id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
    "name": "Kurt Vonnegut",
    "email": "[email protected]",
    "notes": [],
    "phone": "+359884988384",
    "state": "open",
    "blocked": false,
    "last_name": "Vonnegut",
    "created_at": "2023-08-25T19:20:50.667125Z",
    "first_name": "Kurt",
    "updated_at": "2023-08-25T19:20:50.667125Z",
    "contact_tags": [],
    "communication_preferences": [
      {
        "id": "b67993ac-ae2e-4e27-b679-b71f0789aa9f",
        "opt_in": true,
        "channel_id": "029f876c-e60f-454b-8e51-4c38f0484140",
        "contact_id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
        "created_at": "2023-08-25T19:20:50Z",
        "updated_at": "2023-08-25T19:20:50Z",
        "opt_in_date": "2023-08-25T19:20:50Z",
        "opt_out_date": null,
        "last_campaign_date": null
      },
      {
        "id": "728b996d-1bd9-4865-afeb-8b78c378a0df",
        "opt_in": true,
        "channel_id": "be1ecaf2-9ce7-448c-8755-e5009ccc4345",
        "contact_id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
        "created_at": "2023-08-25T19:20:50Z",
        "updated_at": "2023-08-25T19:20:50Z",
        "opt_in_date": "2023-08-25T19:20:50Z",
        "opt_out_date": null,
        "last_campaign_date": null
      }
    ]
  },
  "event": "contact.created",
  "request_id": "bf49b5f7-e199-4d01-9c13-ae53d0f90b1a"
}

contact.updated

{
  "data": {
    "id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
    "name": "Kurt Vonnegut Jr",
    "email": "[email protected]",
    "notes": [],
    "phone": "+359884988387",
    "state": "open",
    "blocked": false,
    "last_name": "Vonnegut Jr",
    "created_at": "2023-08-25T19:22:27.788176Z",
    "first_name": "Kurt",
    "updated_at": "2023-08-25T19:22:27.788176Z",
    "contact_tags": [],
    "communication_preferences": [
      {
        "id": "b67993ac-ae2e-4e27-b679-b71f0789aa9f",
        "opt_in": true,
        "channel_id": "029f876c-e60f-454b-8e51-4c38f0484140",
        "contact_id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
        "created_at": "2023-08-25T19:20:50Z",
        "updated_at": "2023-08-25T19:20:50Z",
        "opt_in_date": "2023-08-25T19:20:50Z",
        "opt_out_date": null,
        "last_campaign_date": null
      },
      {
        "id": "728b996d-1bd9-4865-afeb-8b78c378a0df",
        "opt_in": true,
        "channel_id": "be1ecaf2-9ce7-448c-8755-e5009ccc4345",
        "contact_id": "c6485e7c-b7ec-41e9-8a2b-fecdba0112d1",
        "created_at": "2023-08-25T19:20:50Z",
        "updated_at": "2023-08-25T19:20:50Z",
        "opt_in_date": "2023-08-25T19:20:50Z",
        "opt_out_date": null,
        "last_campaign_date": null
      }
    ]
  },
  "event": "contact.updated",
  "request_id": "c6610a5c-bb55-471d-b9cf-fb71f4f1348a"
}