Postifuse Docs

Accounts

Update an account

PATCHhttps://postifuse.com/v1/accounts/{id}

Moves an account to another profile (it keeps its id, posts and receipts), or decides once what an agent may do on it, without approving each post.

curl --request PATCH \
  --url 'https://postifuse.com/v1/accounts/id_1' \
  --header 'Authorization: Bearer pf_live_…' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_mode": "queue_only"
}'
{
  "id": "acc_tt",
  "network": "tiktok",
  "profile": "prf_martin",
  "agent_mode": "queue_only",
  "status": "active"
}

Headers

Authorizationstringrequired

Bearer followed by a workspace key, a profile key or an OAuth token. See authentication.

Example Bearer pf_live_…

Path parameters

idstringrequired

The account id.

Body application/json

profilestring

Move the account to this profile.

Example prf_martin

agent_modestring

direct (default): agent posts go out. queue_only: they stay drafts or scheduled until a person publishes them. private_first: YouTube uploads private, TikTok posts visible only to the creator.

One of direct queue_only private_first

Example queue_only

Response

200The account
403Workspace not active