Post API โ
Common Parameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
post_id | string | The slug or numeric ID of the post |
Get Post List โ
GET API_BASE/lists/:channel_slug/posts?offset=:offset&limit=:limit&public=:publicParameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
offset | number | The offset of the post list |
limit | number | The limit of the post list |
public | number | 1: public posts, 0: all posts |
type | string | Optional. Filters posts for channel owners/cooperators (e.g. draft). |
sort | string | Optional. Use score to sort by score. |
ids | string | Optional. Comma-separated numeric post IDs. Requires authorization. |
Notes โ
limitdefaults to 16 when omitted.- When
publicis set or the caller is not authenticated, only published posts are returned. - When
idsis set, the response is a plain array ofPostObjectwithout pagination.
Response โ
{
"data": {
"pagination": {
"total": 100,
"offset": 0,
"next_offset": 20,
"limit": 20
},
"items": [PostObject, ...]
},
"ts": 1723923923
}Get Post โ
GET API_BASE/lists/:channel_slug/posts/:post_idParameters โ
Same as Common Parameters.
Response โ
{
"data": PostObject,
"ts": 1723923923
}Get Pinned Posts โ
GET API_BASE/lists/:channel_slug/pinnedParameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
Response โ
{
"data": [PostObject, ...],
"ts": 1723923923
}Pin Posts โ
PUT API_BASE/lists/:channel_slug/pinnedAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Parameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
Request Body โ
{
"ids": [1, 2, 3]
}Response โ
{
"data": [1, 2, 3],
"ts": 1723923923
}Check Post Slug Existence โ
GET API_BASE/lists/:channel_slug/posts/check/:slugAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
slug | string | The post slug to check |
Response โ
{
"data": {
"existence": 0
},
"ts": 1723923923
}Create Post โ
POST API_BASE/lists/:channel_slug/postsAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
Request Body โ
{
"slug": "post-slug",
"cover_image_url": "https://...",
"title": "Post Title",
"summary": "...",
"content": "...",
"datetime": "2025-04-19T00:00:00Z",
"first_published_at": "2025-04-19T00:00:00Z",
"tags": "tag1,tag2,tag3",
"theme": "light"
}Response โ
{
"data": PostObject,
"ts": 1723923923
}Update Post โ
PUT API_BASE/lists/:channel_slug/posts/:post_id/updateAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
| Parameter | Type | Description |
|---|---|---|
channel_slug | string | The slug or numeric ID of the channel |
post_id | string | The slug or numeric ID of the post |
Request Body โ
Same as Create Post.
Response โ
Same as Create Post.
Publish Post โ
PUT API_BASE/lists/:channel_slug/posts/:post_id/publishAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
Same as Update Post.
Response โ
Same as Update Post.
Unpublish Post โ
PUT API_BASE/lists/:channel_slug/posts/:post_id/unpublishAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Same as Publish Post.
Send Post โ
PUT API_BASE/lists/:channel_slug/posts/:post_id/deliverAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
Same as Publish Post.
Response โ
Same as Publish Post.
Get Post Content โ
GET API_BASE/lists/:channel_slug/posts/:post_id/contentAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
Same as Common Parameters.
Access Rules โ
- List owners and cooperators always have access.
- Other users need an active paid subscription unless the post has no paid content.
Response โ
{
"data": {
"free-content": "...",
"paid-content": "..."
},
"ts": 1723923923
}Duplicate Post โ
POST API_BASE/lists/:channel_slug/posts/:post_id/duplicateAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
Same as Common Parameters.
Response โ
{
"data": PostObject,
"ts": 1723923923
}Preview Post โ
GET API_BASE/lists/:channel_slug/posts/:post_id/previewAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list cooperator access.
Parameters โ
Same as Common Parameters.
Response โ
Returns an HTML document.
Delete Post โ
DELETE API_BASE/lists/:channel_slug/posts/:post_idAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list owner or cooperator access for the target list.
Parameters โ
Same as Common Parameters.
Response โ
{
"data": PostObject,
"ts": 1723923923
}Get Subscribed Posts โ
GET API_BASE/posts/subscribed?offset=:offset&limit=:limitAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Query Parameters โ
| Parameter | Type | Description |
|---|---|---|
offset | number | The offset of the post list |
limit | number | The limit of the post list |
Response โ
{
"data": {
"pagination": {
"total": 0,
"offset": 0,
"next_offset": 16,
"limit": 16
},
"items": [PostObject, ...]
},
"ts": 1723923923
}Search Similar Posts (Public) โ
POST API_BASE/posts/searchRequest Body โ
{
"q": "search keyword",
"list": 1,
"offset": 0
}Response โ
{
"data": {
"pagination": {
"offset": 0,
"next_offset": 30,
"limit": 30
},
"items": [PostObject, ...]
},
"ts": 1723923923
}Search Similar Posts (All Posts) โ
POST API_BASE/posts/all/searchAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Requires list owner or cooperator access for the target list.
Request Body โ
Same as Search Similar Posts (Public).
Response โ
Same as Search Similar Posts (Public).
React to Post โ
POST API_BASE/posts/reactions?id=:post_idAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Request Body โ
{
"emoji": "๐",
"code": "0x1f600"
}Response โ
{
"data": PostObject,
"ts": 1723923923
}