List posts (post log)
Cursor-paginated post log scoped to the caller’s organization (and profile, when the key is profile-scoped). Filters compose. Array filters (platform, status, errorCode) accept either repeated query params or comma-separated single values.
curl --request GET \
--url https://api.letmepost.dev/v1/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.letmepost.dev/v1/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letmepost.dev/v1/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.letmepost.dev/v1/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.letmepost.dev/v1/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.letmepost.dev/v1/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.letmepost.dev/v1/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"profileId": "<string>",
"accountId": "<string>",
"account": {
"id": "<string>",
"platformAccountId": "<string>",
"displayName": "<string>"
},
"text": "<string>",
"mediaRefs": [
"<unknown>"
],
"scheduledAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"platformUri": "<string>",
"platformCid": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"error": "<unknown>"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}Authorizations
Mint an API key in the dashboard. See https://letmepost.dev/docs/authentication/.
Query Parameters
Supported platforms. tiktok is currently in App Review — connect requests return platform_not_enabled until approval lands.
bluesky, facebook, instagram, linkedin, pinterest, threads, tiktok, twitter Lifecycle state of a single per-target post row. canceled is the terminal state reached via DELETE /v1/posts/{id} on a queued scheduled post.
queued, validated, publishing, published, failed, rejected, canceled Case-insensitive substring match on the post body. Wildcard characters are matched literally.
1 - 200ISO-8601 lower bound on createdAt (exclusive).
ISO-8601 upper bound on createdAt (exclusive).
1 <= x <= 200Was this page helpful?
curl --request GET \
--url https://api.letmepost.dev/v1/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.letmepost.dev/v1/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letmepost.dev/v1/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.letmepost.dev/v1/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.letmepost.dev/v1/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.letmepost.dev/v1/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.letmepost.dev/v1/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"profileId": "<string>",
"accountId": "<string>",
"account": {
"id": "<string>",
"platformAccountId": "<string>",
"displayName": "<string>"
},
"text": "<string>",
"mediaRefs": [
"<unknown>"
],
"scheduledAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"platformUri": "<string>",
"platformCid": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"error": "<unknown>"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}{
"error": {
"code": "preflight_failed",
"message": "Bluesky posts are capped at 300 graphemes; this body is 312.",
"rule": "bluesky.text.max_graphemes",
"platform": "bluesky",
"remediation": "Trim 12 graphemes, or split into a thread.",
"docUrl": "https://docs.letmepost.dev/errors/preflight_failed",
"ruleUrl": "https://docs.letmepost.dev/preflight/bluesky-text-max_graphemes",
"requestId": "req_01HY6X4AWBJM2K9F2PTQMRD9JQ"
}
}
