Webhooks


Webhooks allow your systems to be notified of specific contact activities as they happen.Webhooks must be configured before they can be used.
 

Webhooks are set up in the Options menu under Linked Accounts, Sites, and API. You will need to provide the URL for your endpoint and choose which activities and contact data you want delivered.
 


The following should be taken into consideration when developing an endpoint:

 

 

Example Batch Delivery

Headers
Content-Type: 'application/json'
X-EMFL-BATCH-ID: 'DDBF5504B960765EB533DD5A3D704A224A54A911'

 

Body
[
  {
    "eventID": "C3EFB0A99E837652B3F9AA0D2F28E391E8E59182",
    "date": "2019-10-01 05:21:00",
    "contact": {
      "email": "john.doe@example.com",
      "contactID": 123
    },
    "email": {
      "subject": "Monthly Newsletter",
      "title": "Monthly Newsletter",
      "dateSent": "2019-10-01 05:21:00",
      "emailID": 456
    },
    "activity": "EMAIL:SENT"
  },
  {
    "eventID": "4E72744BF5924E060818BF8D2FF969DD98FE80BD",
    "date": "2019-10-01 05:35:00",
    "contact": {
      "email": "john.doe@example.com",
      "contactID": 123
    },
    "email": {
      "subject": "Monthly Newsletter",
      "title": "Monthly Newsletter",
      "dateSent": "2017-10-01 05:21:00",
      "emailID": 456
    },
    "activity": "EMAIL:CLICKED",
    "activityDetails": {
      "link": "http://www.example.com"
    }
  }
]
					
Create your own Knowledge Base