Authentication

How to authenticate your PostPeer API requests.

API Key

All API requests require an access key passed via the x-access-key header.

curl -H "x-access-key: YOUR_API_KEY" \
  https://api.postpeer.dev/v1/health/auth

You can find your API key in the PostPeer Dashboard.

Verify Your Key

Use the health check endpoint to verify your key is valid:

curl https://api.postpeer.dev/v1/health/auth \
  -H "x-access-key: YOUR_API_KEY"

Response:

{
  "ok": true
}

If the key is invalid, you'll get a 401 or 403 response.

Credits

Each API call that publishes or schedules a post consumes 1 credit.

  • Free tier: 20 credits/month
  • Paid plans: Starting at $19/month for thousands of credits
  • Credit packs: One-time purchases that never expire

Failed posts don't count against your quota.

Rate Limits

Rate limits depend on your plan. We respect each platform's native rate limits and queue posts automatically to avoid throttling.

On this page