Quickstart

Get from a blank account to a published paper and a working Dev API call in about 15 minutes.

Prerequisites

  • A Whitepapper account at whitepapper.antk.in
  • Basic familiarity with Markdown
  • A way to make HTTP requests (curl, Postman, browser, or your own code)

Create a project

  1. Open Dashboard.
  2. Click New Project.
  3. Enter a project name.
  4. Set visibility to Public if you want public access.
  5. Click Create.

Project URL pattern:

https://whitepapper.antk.in/{username}/p/{project-slug}

Create a paper

  1. Open your project.
  2. Click New Paper.
  3. Add a title and body.
  4. Save your draft.

Publish the paper

  1. Open the paper in the editor.
  2. Set status to Public and save.
  3. The paper becomes publicly accessible if parent visibility allows it.

Paper URL pattern:

https://whitepapper.antk.in/{username}/{paper-slug}

Generate an API key

  1. Open the project.
  2. Go to the API tab.
  3. Click Generate API Key.
  4. Copy the key immediately.

Each project has one key. The key is scoped to that project.

Make your first API call

Base URL:

https://whitepapper.antk.in/api

Request:

GET /dev/project
x-api-key: <your-api-key>
curl https://whitepapper.antk.in/api/dev/project \
  -H "x-api-key: YOUR_API_KEY"

Common errors

What you seeWhat it meansFix
401API key missing or invalidSend the correct x-api-key header
403Key inactive or wrong project scopeRe-enable key or use the right project's key
404Collection/paper not foundVerify the id or slug
429Monthly quota exceededWait for monthly reset

Related pages

Whitepapper

Whitepapper is an API first CMS engine for devs who publish content.

Antk i n