Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mavera.io/llms.txt

Use this file to discover all available pages before exploring further.

Notion databases and pages hold your team’s planning, decisions, research, and competitive intelligence. These five jobs pull data from Notion’s API into Mavera’s surfaces (Generate, Mave Agent, Focus Groups, Brand Voice) to turn passive documentation into active marketing assets.

API Reference Card

DetailValue
Base URLhttps://api.notion.com/v1
AuthInternal integrations: Bearer token. Public integrations: OAuth 2.0
Version headerNotion-Version: 2022-06-28 (required on every request)
Rate limits3 requests/second average; bursts above that return 429
Key endpointsPOST /databases/{id}/query, GET /pages/{id}, GET /blocks/{id}/children
Mavera basehttps://app.mavera.io/api/v1
Mavera authAuthorization: Bearer mvra_live_...
All examples use NOTION_API_KEY (an internal integration token starting with ntn_ or secret_) and MAVERA_API_KEY. The integration must be explicitly shared with each database or page it accesses — open the page in Notion → ⋯ → Connections → add your integration.

Prerequisites

1

Create a Notion integration

Go to notion.so/my-integrations → New integration → select workspace → copy the Internal Integration Token.
2

Share pages/databases with the integration

Open each Notion database or page → click ⋯ → Connections → find your integration → Confirm. Without this, API calls return 404.
3

Mavera API key

Get your key from Mavera dashboard.
4

Environment variables

export NOTION_API_KEY="ntn_xxxxxxxxxxxxx"
export MAVERA_API_KEY="mvra_live_xxxxx"

Jobs

#JobNotion DataMavera SurfaceOutput
1Content Calendar → Generate PipelineDatabase query (content calendar)GenerateDraft content per planned piece
2Meeting Notes → Mave AnalysisPages (meeting notes)Mave AgentAction items, decisions, themes
3Product Requirements → Focus GroupPages (PRDs)Personas + Focus GroupsUser persona interest ratings
4Knowledge Base → Brand VoicePages (wiki/docs)Brand VoiceVoice profile from internal docs
5Competitive Wiki → Battle CardsPages (competitive intel)Mave Agent + GenerateAI-enriched battle cards

Rate Limits & Production Notes

Notion EndpointLimitStrategy
All endpoints (average)3 req/sec400ms minimum delay between calls
POST /databases/{id}/query3 req/secPaginate with start_cursor; cache results
GET /blocks/{id}/children3 req/secPaginate; 100 blocks per page max
PATCH /pages/{id}3 req/secBatch updates with delays
PATCH /blocks/{id}/children3 req/secMax 100 blocks per append call
Notion’s rate limit is a 3 requests/second average — not a hard burst limit. Brief bursts above 3 are tolerated, but sustained bursts trigger 429 responses with a Retry-After header. All code includes 400ms+ delays between calls. For production, implement a token-bucket rate limiter.
Production checklist:
  • Authentication: Internal integration tokens don’t expire but are workspace-scoped. For multi-workspace apps, use OAuth 2.0 public integrations.
  • Version header: Always include Notion-Version: 2022-06-28. Omitting it may return unexpected response shapes.
  • Pagination: All list endpoints return max 100 items. Use next_cursor / has_more to paginate.
  • Block limits: Append calls accept max 100 blocks. Rich text content is limited to 2000 characters per text object.
  • Caching: Cache Notion database schemas and page metadata. Re-fetch page content only when last_edited_time changes.
  • Mavera credits: Monitor usage at Dashboard. Generation and Focus Group calls consume the most credits.

All Integrations

Notion API Docs

Brand Voice

Focus Groups

Mave Agent

Generate