Authentication
All API requests require a Bearer token in the Authorization header. If you have not set up your account yet, start with the Quick Start guide.
Getting Your API Key
- Sign in to PostEverywhere
- Go to Settings > Developers
- Click Generate API Key
- Copy your key — it starts with
pe_live_
Keep Your Key Secret
Your API key grants full access to your account. Never expose it in client-side code, public repositories, or browser requests.
Using Your Key
Include the key in every request:
curl https://app.posteverywhere.ai/api/v1/accounts \
-H "Authorization: Bearer pe_live_abc123def456..."
Or with the Node.js SDK:
import { PostEverywhere } from 'posteverywhere';
const client = new PostEverywhere({
apiKey: process.env.POSTEVERYWHERE_API_KEY,
});
Response Format
All responses follow a consistent envelope:
{
"data": { },
"error": null,
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-04-01T10:00:00Z"
}
}
On error:
{
"data": null,
"error": {
"code": "unauthorized",
"message": "Invalid or expired API key"
},
"meta": {
"requestId": "req_abc123"
}
}
Error Codes
| Status | Code | Description |
|---|---|---|
400 | bad_request | Invalid request body or parameters |
401 | unauthorized | Missing or invalid API key |
404 | not_found | Resource doesn't exist |
429 | rate_limited | Too many requests (see Rate Limits) |
500 | internal_error | Server error — retry with backoff |
Next Steps
Once your API key is set up, explore the platform guides and API reference:
- Create your first post -- schedule content to any platform
- Upload media -- attach images and videos to your posts
- Rate Limits -- understand request quotas and best practices
- Platform guides: Instagram | TikTok | YouTube | LinkedIn | X (Twitter) | Facebook | Threads | Pinterest