The command-line tool
The CLI posts local files and checks on posts from a terminal. It needs an API key with Publishing access. See API keys.
| Command | What it does |
|---|---|
posthoop login | Checks a key and saves your connection |
posthoop accounts | Lists the social accounts in the workspace |
posthoop post <file...> --to <destinations> | Publishes, schedules or validates a post |
posthoop posts | Lists recent posts with their status on each account |
posthoop status <id> | Shows one post and its outcomes |
Useful options for post:
--captionsets the caption.--atschedules for a future time, written with its offset.--dry-runchecks the files and accounts without uploading or publishing.--totakes platforms separated by commas. Useplatform:@handlewhen you have several accounts on one platform.
Installation steps are in the CLI docs.
Webhooks
A webhook is an address of yours that Posthoop calls when something happens, so your system doesn't have to keep asking.
Webhooks need a plan that includes them. Only admins and owners can manage endpoints.
Add an endpoint
- Open Settings, then Webhooks.
- Under New endpoint, enter the Endpoint URL. It must be HTTPS.
- Tick the Events you want.
- Select Add endpoint.
Posthoop shows a signing secret once, under Copy your signing secret. Copy it then. You use it to check that a delivery came from Posthoop.
Test and watch deliveries
Select Send test on an endpoint, then open its Delivery log. Each delivery is listed with its result. A delivery that fails is retried, and the log shows when the next attempt is.
Untick Enable deliveries to pause an endpoint without deleting it. Remove endpoint stops deliveries and deletes its history.
How to verify a signature, with code, is in the webhook docs.
Checked against the app on .
Was this helpful?
Your answer is recorded with the article's name and nothing about you.