Agent CLI
Drive your agents from the command line. Same credits, same account.
1. Install the skill
npx skills add postpilot/postpilot-agent2. Set your API key
Generate one under /app/api-keys. It's shown once.
export POSTPILOT_API_KEY=pk_live_your_key3. List your connected integrations
postpilot integrations:list4. Create your first post
postpilot posts:create \
-c "Hello from Untag Agent!" \
-s "2026-01-01T12:00:00Z" \
-i "your-integration-id"Verify your key
Every API key can hit this public probe:
curl -H "Authorization: Bearer $POSTPILOT_API_KEY" \
https://postpilot.app/api/public/cli/whoami