Token Limits
- Maximum tokens per instance: 50 tokens
- Maximum expiration period: 30 days
- Minimum expiration period: 1 day
- Token visibility: Tokens shown only once at creation
Request Limits
- Content size: Subject to Confluence page size limits (approximately 1MB)
- Rate limiting: Subject to Atlassian API rate limits
- Concurrent requests: No explicit limit, but recommended to implement backoff strategy
Content Limitations
- Markdown format: Must be valid markdown string
- Empty content: Content cannot be empty or whitespace-only
- Special characters: Properly escape special characters in JSON payload
Feature Limitations
- Page creation only: Cannot create blog posts or other content types
- No attachment support: Attachments must be uploaded separately
- No version control: Updates increment version but don’t preserve history details
- Single page operations: Bulk operations require multiple API calls
License Requirements
- Active license required: Token creation requires active license
- License validation: Tokens validate license status at creation time
- Token persistence: Tokens remain valid until expiration even if license expires after creation
Workarounds
Large Content
If you need to import content larger than 1MB:- Split the content into multiple pages
- Use a hierarchical structure with parent/child pages
- Link pages together using markdown links
Attachments
To add attachments to pages created via the API:- Create the page using the Markdown Importer API
- Use Confluence’s REST API to upload attachments
- Reference the attachment ID in subsequent page updates
Bulk Operations
For importing multiple pages efficiently:Version History
While the API doesn’t preserve detailed version history, you can:- Maintain your own changelog in the page content
- Use git to track markdown file changes
- Reference git commit hashes in page metadata
Related Documentation
- API Reference - Endpoint details
- Best Practices - Production recommendations
- FAQ - Common questions
