API Endpoints
Learn how to use the API to manage your subscribers.
Last updated
Learn how to use the API to manage your subscribers.
Last updated
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
.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://api.letterdrop.com/api/v1/post/get/:{id}
Get a single post.
POST
https://api.letterdrop.com/api/v1/post/draft
Draft a post.
POST
https://api.letterdrop.com/api/v1/project/get/:{id}
Get project details.
POST
https://api.letterdrop.com/api/v1/idea/new
Create a new idea.
POST
https://api.letterdrop.com/api/v1/idea/assign
Create a project from an idea.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
api-key
string
API key that is unique to your workspace
query
string
Search for posts containing these words
offset
number
Index of first post to return
limit
number
Number of posts to return
id
string
The ID of the post
api-key
string
API key that is unique to your workspace
api-key
string
API key that is unique to your workspace
html
string
Body of your post in HTML format
subtitle
string
Subtitle of your post
title
string
Title of your post
api-key*
string
API key that is unique to your workspace
id
string
Project ID
api-key*
string
API key that is unique to your workspace
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
api-key*
string
API key that is unique to your workspace
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