Letterdrop
Search…
API Endpoints
Learn how to use the API to manage your subscribers.
post
https://letterdrop.com
/api/v1/subscriber/add
Add subscriber

Accepted fields for additionalData object

Field Name
Type
Description
name
string
Name of subscriber
location
string
Location of the subscriber
title
string
Job title of the subscriber
companyName
string
Name of the company subscriber is employed at
companySize
number
Number of employees at company the subscriber is employed at
industry
string
Industry the subscriber is in
twitter
string
URL of Twitter profile for subscriber
twitterFollowers
number
Number of Twitter followers of subscriber
linkedin
string
URL of LinkedIn profile for subscriber
github
string
URL of GitHub profile for subscriber
facebook
string
URL of Facebook profile for subscriber
A sample object looks like this:
1
additionalData: {
2
name: "Sundar Pichai",
3
location: "Mountain View, CA",
4
twitter: "https://twitter.com/sundarpichai",
5
twitterFollowers: 3300000,
6
company: "Google,
7
companySize: 120000,
8
industry: "Internet",
9
linkedin: "https://www.linkedin.com/in/sundarpichai"
10
}
Copied!
If you want to add your own custom fields and data, just create the fields in Letterdrop and then add the data in additionalData. For example, if you created a custom field Downloaded Whitepaper, you could pass a value for it like so:
1
additionalData: {
2
name: "Sundar Pichai",
3
location: "Mountain View, CA",
4
twitter: "https://twitter.com/sundarpichai",
5
twitterFollowers: 3300000,
6
company: "Google,
7
companySize: 120000,
8
industry: "Internet",
9
linkedin: "https://www.linkedin.com/in/sundarpichai",
10
"Downloaded Whitepaper": true
11
}
Copied!
get
https://letterdrop.com
/api/v1/:domain/subscribe
Add subscriber
post
https://letterdrop.com
/api/v1/subscriber/add/:domain
Add subscriber through form
post
https://letterdrop.com
/api/v1/subscriber/remove
Remove Subscriber
post
https://letterdrop.com
/api/v1/posts
List posts
post
https://letterdrop.com
/api/v1/post/get/:{id}
Get post
post
https://letterdrop.com
/api/v1/post/draft
Draft post
Last modified 3mo ago