newsletter.created

The newsletter.created event is triggered whenever a new Newsletter record has been created for the end-user on the Pelcro platform.

{
  "type": "newsletter.created",
  "id": "evt_AqAaORx6EQ68CfLqeswK1737",
  "created": 1677498950,
  "triggered_from": "open_api",
  "data": {
    "object": {
      "site_id": 699,
      "consent_type": "",
      "consent_text": "",
      "consent_ip": "",
      "consent_url": "",
      "lists": "Monthly Newsletter",
      "source": "web",
      "email": "[email protected]",
      "created_at": "2023-02-27T11:55:50.000000Z",
      "updated_at": "2023-02-27T11:55:50.000000Z",
      "deleted_at": null,
      "id": 872121,
      "first_name": "Chandler",
      "last_name": "Bing",
      "postal_code": "MWE345",
      "object": "newsletter"
    }
  }
}