Skip to content

See and clear this week's queue

List every Post with a Variant scheduled in a range — here, a week:

Terminal window
curl -s "https://app.pubrivo.com/api/posts?from=2027-01-18T00:00:00Z&to=2027-01-25T00:00:00Z" \
-H "Authorization: Bearer $PUBRIVO_KEY" \
| jq -r '.data[] | .variants[] | "\(.scheduledAt) \(.network) \(.status)"'
2027-01-19T07:00:00Z instagram scheduled
2027-01-19T07:00:00Z threads scheduled
2027-01-21T16:30:00Z facebook scheduled

Cancel one Post — every Variant that has not started publishing:

Terminal window
curl -X POST "https://app.pubrivo.com/api/posts/$POST_ID/cancel" \
-H "Authorization: Bearer $PUBRIVO_KEY"

The response lists the Variant ids it cancelled, and any pastCancelling — already publishing or published, and left alone.

More than 100 Posts in the range? Follow nextCursor, as in scheduling.