A webhook is a URL that DailyStory will send an HTTP POST with related data to when events occur within DailyStory.

Manage Webhooks

To manage webhooks navigate to Account Settings > Webhooks:

Supported Events

Below are the webhook events supported by DailyStory:

New Lead

When a new lead is created.

{
  "id":[numeric id of the lead],
  "dsid":"[unique id of the contact]"
}

Lead Status Changed

When the status of a lead is changed.

{
  "id":[numeric id of the lead],
  "dsid":"[unique id of the contact]",
  "status":"[status changed to, e.g. Deleted ]"
}

Contact Status Changed

When the status of a contact is changed.

{
  "dsid":"[unique id of the contact]",
  "status":"[status changed to, e.g. Deleted ]"
}

Tracking Link Clicked

When a Tracking Link is clicked.

{
  "id":"unique id of the link"
}

Text Message Reply Received

When a contact replies to a text message.

{
  "dsid":"[unique id of the contact]",
  "mobile":"[mobile number that replied]",
  "message":"[received reply]"
}

Opted out of Email

When a contact opts out of email.

{
  "dsid":"[unique id of the contact]",
  "email":"[email address that opted out]"
}

Opted out of Text Messaging

When a contact opts out of text messaging.

{
  "dsid":"[unique id of the contact]",
  "mobile":"[mobile number that opted out]"
}

Opted in to Email

When a contact opts in to email.

{
  "dsid":"[unique id of the contact]",
  "email":"[email address that opted in]"
}

Opted in to Text Messaging

When a contact opts in to text messaging.

{
  "dsid":"[unique id of the contact]",
  "mobile":"[mobile number that opted in]"
}