Accounts
List accounts
GET
https://postifuse.com/v1/accountsConnected accounts with their profile, status (active, paused, disconnected) and today's quota per network.
curl --request GET \ --url 'https://postifuse.com/v1/accounts?profile=prf_martin' \ --header 'Authorization: Bearer pf_live_…'
const res = await fetch("https://postifuse.com/v1/accounts?profile=prf_martin", {
method: "GET",
headers: {
"Authorization": "Bearer pf_live_…"
},
});
const data = await res.json();
import requests
res = requests.get(
"https://postifuse.com/v1/accounts?profile=prf_martin",
headers={"Authorization": "Bearer pf_live_…"},
)
print(res.json())
[
{
"id": "acc_ig",
"network": "instagram",
"profile": "prf_martin",
"handle": "@martinbakery",
"status": "active",
"quota": {
"posts_today": 4,
"posts_limit": 50
}
}
]
{
"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
profilestringA profile id. Omitted: every profile the key can see.
Example prf_martin
Response
200Accounts
403Workspace not active