API Key Scopes
Scopes control which parts of the API your key can access. When you generate an API key, you choose which scopes to enable.
Default Access
Every API key includes access to the core API by default:
| Scope | Endpoints | Description |
|---|---|---|
| Default (always included) | Accounts, Posts, Media | List accounts, create and manage posts, upload and manage media. |
ai | AI | Generate images from text prompts using AI models. |
Requesting Scopes
When generating an API key from Settings > Developers in the PostEverywhere dashboard:
- Click Generate API Key
- Select the scopes you need -- default access is always included
- Enable the ai scope if you plan to use the Generate Image endpoint
- Click Create and copy your key
You can generate multiple API keys with different scopes. For example, create one key with default access for your scheduling service and a separate key with the ai scope for your content generation pipeline.
Scope Details
Default (Accounts, Posts, Media)
Included with every API key. Grants access to:
- Accounts -- List and view connected social media accounts
- Posts -- Create, schedule, update, delete, bulk-schedule, retry, and view post results
- Media -- Upload, complete, view, list, and delete media files
ai Scope
Required for AI-powered endpoints. Currently grants access to:
- Generate Image -- Create images from text prompts using models like
nano-banana-pro,ideogram-v2,gemini-3-pro, andflux-schnell
Requests to AI endpoints without the ai scope return a 401 Unauthorized error.
AI image generation consumes credits from your plan's monthly allowance. Different models cost different amounts of credits. See Generate Image for the full model and pricing table.
Further Reading
- Authentication -- how to use your API key
- Generate Image -- AI image generation endpoint