API Endpoints
Learn how to use the API to manage your subscribers.
List posts
POST
https://api.letterdrop.com/api/v1/posts
Get a summary of all your posts to be displayed on your home page. The API is paginated. Start with offset: 0
and a fixed small value for limit
. We recommend 5. Then you can query again, but this time, increment the offset to 5 to get the next 5 posts. You can check if there are most posts to query by checking if hasNextPage
in the response is true
.
Headers
api-key
string
API key that is unique to your workspace
Request Body
query
string
Search for posts containing these words
offset
number
Index of first post to return
limit
number
Number of posts to return
Get post
POST
https://api.letterdrop.com/api/v1/post/get/:{id}
Get a single post.
Path Parameters
id
string
The ID of the post
Headers
api-key
string
API key that is unique to your workspace
Draft post
POST
https://api.letterdrop.com/api/v1/post/draft
Draft a post.
Headers
api-key
string
API key that is unique to your workspace
Request Body
html
string
Body of your post in HTML format
subtitle
string
Subtitle of your post
title
string
Title of your post
Get project
POST
https://api.letterdrop.com/api/v1/project/get/:{id}
Get project details.
Headers
api-key*
string
API key that is unique to your workspace
Request Body
id
string
Project ID
Create idea
POST
https://api.letterdrop.com/api/v1/idea/new
Create a new idea.
Headers
api-key*
string
API key that is unique to your workspace
Request Body
title*
string
Idea title
suggestedBy*
string
Email address of the person who suggested the idea
description
string
Description of the idea. This is where your content brief goes.
keyword
string
Keyword associated with the idea
labels
list
List of labels
Assign idea
POST
https://api.letterdrop.com/api/v1/idea/assign
Create a project from an idea.
Headers
api-key*
string
API key that is unique to your workspace
Request Body
id*
string
Idea ID
publishOn*
date
Date you want to target publishing your content.
assignedTo
string
Email address of the user writing the content.
approvers
List
List of emails of approvers
Last updated
Was this helpful?