Quickstart

Create a project, populate it with content, generate an API key, and make your first request.


1. Create a Project

  1. Open your Dashboard.
  2. Click New Project.
  3. Enter a project name and optional description.
  4. Set visibility to Public if you want public access.
  5. 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

  1. Open your project in the Dashboard.
  2. Click New Paper.
  3. Write your content in Markdown.
  4. Set status to Published and save.

3. Generate an API Key

  1. Open your project.
  2. Go to the API tab.
  3. Click Generate API Key.
  4. Copy the key immediately — it is shown once and then hashed for storage.

Key Format

wp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Important

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_here
bash
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

EndpointDescriptionDocs
GET /dev/projectFetch project with collections and papersProject Endpoint
GET /dev/collectionFetch a collection and its papersCollection Endpoint
GET /dev/paperFetch a single paper by slug or IDPaper Endpoint

6. Rate Limits

  • Limit: 10,000 requests per month per key
  • Reset: Monthly
  • Exceeded: Returns 429 Too Many Requests

Related

Whitepapper logo

Whitepapper

Whitepapper is a API first content platform for developers who want to publish once, distribute everywhere, and manage website content.