Skip to main content

API Quickstart

This guide walks you through creating an API key and making your first API request. You should be up and running in under 5 minutes.

Prerequisites

  • An active Pro plan subscription
  • Access to the docs101 web app

Step 1: Generate an API Key

  1. Log into docs101 and click the gear icon (top-right corner) to open Account Settings, then select the API Keys tab
  2. Click Create API Key
  3. Enter a descriptive name for the key (e.g., "My CRM Integration")
  4. Click Create
  5. Copy the displayed API key immediately
Save Your Key

The full API key is shown only once after creation. Copy it to a secure location. If you lose it, you will need to create a new key.

Your key looks like this: ak_live_a1b2c3d4e5f6789012345678abcdef01

Step 2: Make Your First Request

Test your API key by listing your customers:

curl -H "X-API-Key: ak_live_YOUR_KEY_HERE" \
https://docs101.com/api/customers/

A successful response returns a JSON array of your customers:

[
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "Acme Corp",
"email": "billing@acme.com",
"vat_number": "DE123456789"
}
]

If you receive a 401 response, verify that your API key is correct and active.

Step 3: Explore the API

Open the Swagger documentation to see all available endpoints, request parameters, and response schemas. You can test requests directly from the Swagger UI.

Next Steps