Webhooks

Page View

[
  {
    "page_url": "https://example.com/?email=name@email.com",
    "page_title": "woocommerce – Just another WordPress site",
    "timezone": "Asia/Jerusalem",
    "referral": "",
    "utm": {
      "campaign": null,
      "source": null,
      "medium": null,
      "term": null,
      "content": null
    },
    "gclid": null,
    "cid": null,
    "account_id": 246,
    "first_visit": 1674573460,
    "session_count": 4,
    "timestamp": 1674573859,
    "anonymous_id": "246:3deb8de9123544d010b690a3a1a637",
    "flsid": null,
    "contact_id": "ab734a688a56c24863e5d8313b80892b",
    "event": "page_view"
  }
]

Add To Cart

[
  {
    "value": "20",
    "content_ids": [
      65
    ],
    "currency": "USD",
    "timestamp": 1674654971,
    "account_id": 246,
    "anonymous_id": "246:ba4bb952a996d670671a3b749e17be",
    "flsid": null,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "event": "add_to_cart"
  }
]

Contact Subscribed

[
  {
    "account_id": 246,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "feed_id": 219,
    "timestamp": 1674573849,
    "event": "contact_subscribed"
  }
]

Contact Unsubscribed

[
  {
    "account_id": 246,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "feed_id": 219,
    "created_at": 1674655171,
    "event": "contact_unsubscribed"
  }
]

Contact Updated

[
  {
    "account_id": 246,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "old": {
      "birthday": null
    },
    "new": {
      "birthday": 1660262400
    },
    "created_at": 1674655281,
    "event": "contact_updated"
  }
]

Contact Created

[
  {
    "account_id": 246,
    "contact_id": "7a69527d87e6a3e708d1d4c12e3d45cc",
    "created_at": 1674656958,
    "event": "contact_created"
  }
]

Purchase

[
  {
    "account_id": 246,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "order_id": "449",
    "content_ids": [
      65
    ],
    "value": 35,
    "status": "processing",
    "currency": "USD",
    "context": {
      "checkout_url": "https://exmaple.com/checkout/order-pay/449/?pay_for_order=true&key=wc_order_uSj75cooEQGc6",
      "status": "processing",
      "items": [
        {
          "image_link": false,
          "title": "product",
          "quantity": 1,
          "total": "20"
        }
      ],
      "total": "35.00",
      "order_id": 449,
      "billing": {
        "address": "בן גוריון 33",
        "city": "באר שבע",
        "state": null,
        "postcode": "2352353",
        "country": "IL"
      },
      "shipping": {
        "address": "בן גוריון 33",
        "city": "באר שבע",
        "state": null,
        "postcode": "2352353",
        "country": "IL",
        "method": "Flat rate",
        "price": "15"
      }
    },
    "delayed": true,
    "created_at": 1674657507,
    "event": "purchase"
  }
]

Automation Completed

[
  {
    "account_id": 246,
    "contact_id": "c3b0b4e1eb2128776a06e7e5b9ae630e",
    "auto_index": 1,
    "automation_id": 477,
    "last_step": 1,
    "created_at": 1674662051,
    "event": "automation_completed"
  }
]

Email Automation Delivered

[
  {
    "account_id": 246,
    "contact_id": "9d10fa6802776e20138b6bd58cf7cc93",
    "auto_index": 0,
    "automation_id": 477,
    "template_id": 240,
    "step_id": 1,
    "created_at": 1674662398,
    "event": "email_automation_delivered"
  }
]

Email Automation Opened

[
  {
    "account_id": 246,
    "contact_id": "9d10fa6802776e20138b6bd58cf7cc93",
    "automation_id": 477,
    "auto_index": 0,
    "template_id": 240,
    "step_id": "1",
    "created_at": 1674662421,
    "event": "email_automation_opened"
  }
]

Email Automation Clicked

[
  {
    "account_id": 246,
    "contact_id": "9d10fa6802776e20138b6bd58cf7cc93",
    "automation_id": 477,
    "auto_index": 0,
    "link": "https://flashy.app/",
    "step_id": "1",
    "created_at": 1674662428,
    "event": "email_automation_clicked"
  }
]

Email Campaign Bounced

[
  {
    "account_id": 247,
    "contact_id": "87d4495ca059162b42d2ebb9ebea1968",
    "campaign_id": 415,
    "bounce_type": "soft_bounced",
    "created_at": 1675158921,
    "event": "email_campaign_bounced"
  }
]

Incoming SMS

[
    {
        "account_id": 5125,
        "message": "Here will be the content of the text message",
        "from": "972526999999",
        "to": "972525999999",
        "status": "received",
        "from_country": "US",
        "created_at": 1676727018,
        "event": "incoming_sms"
    }
]