Posts
List posts
GET
https://postifuse.com/v1/postsPosts of the profiles the key can see, newest first, with filters.
curl --request GET \ --url 'https://postifuse.com/v1/posts?status=failed%2Cheld&account=acc_tt&from=2027-01-01T00%3A00%3A00Z&to=2027-01-31T23%3A59%3A59Z' \ --header 'Authorization: Bearer pf_live_…'
const res = await fetch("https://postifuse.com/v1/posts?status=failed%2Cheld&account=acc_tt&from=2027-01-01T00%3A00%3A00Z&to=2027-01-31T23%3A59%3A59Z", {
method: "GET",
headers: {
"Authorization": "Bearer pf_live_…"
},
});
const data = await res.json();
import requests
res = requests.get(
"https://postifuse.com/v1/posts?status=failed%2Cheld&account=acc_tt&from=2027-01-01T00%3A00%3A00Z&to=2027-01-31T23%3A59%3A59Z",
headers={"Authorization": "Bearer pf_live_…"},
)
print(res.json())
[
{
"id": "pst_42",
"status": "scheduled",
"publish_at": "2027-01-08T17:00:00Z",
"accounts": [
"acc_ig",
"acc_tt"
]
}
]
{
"error": "workspace_not_active",
"message": "The workspace for this key is not active yet.",
"docs": "https://postifuse.com/docs/errors/"
}
Headers
AuthorizationstringrequiredBearer followed by a workspace key, a profile key or an OAuth token. See authentication.
Example Bearer pf_live_…
Query parameters
statusstringdraft, scheduled, held, delivered, failed. Comma-separated.
Example failed,held
accountstringOnly posts to this account.
Example acc_tt
fromstring<date-time>Created or scheduled from this time, ISO 8601.
Example 2027-01-01T00:00:00Z
tostring<date-time>Up to this time, ISO 8601.
Example 2027-01-31T23:59:59Z
Response
200Posts
403Workspace not active