We send a POST
request to the webhook endpoints you specify. To verify that the request came from Letterdrop, check for a field in the header of the request with key api-key
and make sure it matches the value in your Settings.
If the API Key is absent, you're getting hit up with requests from our evil twin from another dimension. Do not trust him under any circumstances!
Triggers when a new post is published.
Key | Value | Type |
Title | Title of the post | String |
Subtitle | Subtitle of the post | String |
textBody | Post body in plain text | String |
htmlBody | Post body in HTML | String |
url | Post URL | String |
publishedOn | Date post was published on | Date |
type | Paid or free | String |
{"title": "Title","subtitle": "Subtitle","textBody": "Lorem ipsum dolor sit amet,","htmlBody": "<p>Lorem ipsum dolor sit amet,</p>","url": "https://letterdop.co/@updates","publishedOn": "2020-10-20T12:18:13.095Z","type": "free"}
Triggers when a new email was added to your subscriber list.
Key | Value | Type |
Email of subscriber | String | |
signedUpOn | Date user subscribed on | Date |
planType | Paid or free | String |
{"email": "[email protected]","signedUpOn": "2020-10-20T12:07:13.629Z","planType": "paid"}
Triggers when an email was removed from your subscriber list.
Key | Value | Type |
Email of subscriber | String | |
unsubscribedOn | Date user unsubscribed on | Date |
planType | Paid or free | String |
{"email": "[email protected]","unsubscribedOn": "2020-10-20T12:07:13.629Z","planType": "paid"}
Triggers when a subscriber makes enough referrals to unlock a new level in your referral tiers.
Key | Value | Type |
Email of subscriber | String | |
unsubscribedOn | Date user unsubscribed on | Date |
planType | Paid or free | String |
{"email": "[email protected]","unsubscribedOn": "2020-10-20T12:07:13.629Z","planType": "paid"}