Quickstart
Create a project, populate it with content, generate an API key, and make your first request.
1. Create a Project
- Open your Dashboard.
- Click New Project.
- Enter a project name and optional description.
- Set visibility to Public if you want public access.
- Click Create.
2. Populate with Content
You can add content to your project in two ways:
Using MCP (recommended for bulk)
Connect an AI agent via MCP (see MCP Quickstart) and ask it to create papers inside your project.
Using the Editor
- Open your project in the Dashboard.
- Click New Paper.
- Write your content in Markdown.
- Set status to Published and save.
3. Generate an API Key
- Open your project.
- Go to the API tab.
- Click Generate API Key.
- Copy the key immediately — it is shown once and then hashed for storage.
Key Format
wp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxImportant
Each project has exactly one active API key. The key is scoped to that project and can only access its content.
4. Attach the Key to Requests
Include the key in the x-api-key header with every request:
http
GET /dev/project
x-api-key: wp_your_api_key_herebash
curl https://whitepapper.antk.in/api/dev/project \
-H "x-api-key: wp_your_api_key_here"Base URL: https://whitepapper.antk.in/api
5. Available Endpoints
| Endpoint | Description | Docs |
|---|---|---|
GET /dev/project | Fetch project with collections and papers | Project Endpoint |
GET /dev/collection | Fetch a collection and its papers | Collection Endpoint |
GET /dev/paper | Fetch a single paper by slug or ID | Paper Endpoint |
6. Rate Limits
- Limit: 10,000 requests per month per key
- Reset: Monthly
- Exceeded: Returns
429 Too Many Requests
Related
- Authentication — Header contract and error codes.
- API Key Management — Create, reset, disable keys.
- Best Practices — Environment variables, caching strategies.