API Keys and Scopes
Developer Tools Overview
Use API keys to integrate AppGram into your applications and automate workflows. Create keys with specific scopes to control access.
Creating an API Key
- Go to Settings → Organization → Developer
- Click Create new API key
- Enter a name to identify the key
- Select the scopes (permissions) for the key
- Optionally set an expiration date
- Click Create
- Copy the key immediately - you won't see it again!
Understanding Scopes
Scopes define what an API key can access. Common scopes include:
- settings:* - Full access to organization settings
- settings:view - Read-only access to settings
- members:* - Manage organization members
- content:* - Full content access
Always grant the minimum scopes needed for your use case.
Key Security Best Practices
- Never commit API keys to version control
- Store keys securely (environment variables, secret managers)
- Rotate keys regularly
- Revoke unused keys immediately
- Use different keys for different applications
Revoking API Keys
- Go to the Developer section
- Find the key you want to revoke
- Click the revoke button
- Confirm the action
Once revoked, the key immediately stops working.
API Key Management
View all your API keys, their scopes, creation dates, last used timestamps, and usage counts from the Developer tab.