Approvals: posts waiting for a person, and the ones decided

Newest first, each with every network's preview (account, text, title, media, length against the network's limit and, for Instagram and LinkedIn, about where the feed folds it), why it waits, who was notified, the decision and the post's state. counts = how many per status. can_decide = whether this caller may decide (only a signed-in dashboard session).

get/api/approvals

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/approvals
  • Auth: HTTP bearer

Query parameters

status'pending' | 'approved' | 'rejected' | 'canceled'

pending | approved | rejected | canceled; omit for all

brand_idstring uuid

Only this brand

limitinteger

1 to 200, default 50

beforestring date-time

ISO time: only approvals created before it (paging)

Response

{ approvals: [{ id, status, schedule_id, brand_id, mode: now|scheduled, run_at, platforms, targets, reasons: [{ code, text }], source: { kind, label }, notified, decision, decided_by, decided_via: link|dashboard|requester, decided_at, reminders, next_reminder_at, preview: [{ platform, name, account, text, title, chars, max, over, fold, media }], post: { status, run_at, results, last_error } }], counts: { pending, approved, … }, can_decide }

Changes

No recorded changes to this operation across all 1 revision of this API.