Posts
Get a post
GET
https://postifuse.com/v1/posts/{id}A post with its text, media, schedule and the status of each target account.
curl --request GET \ --url 'https://postifuse.com/v1/posts/id_1' \ --header 'Authorization: Bearer pf_live_…'
const res = await fetch("https://postifuse.com/v1/posts/id_1", {
method: "GET",
headers: {
"Authorization": "Bearer pf_live_…"
},
});
const data = await res.json();
import requests
res = requests.get(
"https://postifuse.com/v1/posts/id_1",
headers={"Authorization": "Bearer pf_live_…"},
)
print(res.json())
{
"id": "pst_42",
"status": "scheduled",
"text": "Three pacing mistakes from my first marathon",
"publish_at": "2027-01-08T17:00:00Z",
"targets": [
{
"account": "acc_ig",
"status": "scheduled"
}
]
}
{
"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_…
Path parameters
idstringrequiredThe post id.
Response
200The post
403Workspace not active