Webhooks
Learn how to use webhooks to get alerts on subscriber and post events.
Checking for the API Key
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!
Post published, updated, or deleted
Triggers when a new post is published.
Sample payload
Subscriber added
Triggers when a new email was added to your subscriber list.
Sample payload
Subscriber removed
Triggers when an email was removed from your subscriber list.
Sample payload
Subscriber updated
Triggers when a subscriber is updated.
Sample payload
Project created or updated
Triggers when a project is created or updated.
Sample payload
Last updated