Complete API Documentation
Everything you need to integrate APIDock into your workflow. Comprehensive endpoints, detailed parameters, and ready-to-use code examples.
Base URL
https://api.apidock.com/v1
All API requests should be made to this base URL. Include your API key in the Authorization header.
Authentication
APIDock uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.
Include your API key in the Authorization header of every request.
- API keys are project-scoped
- Keys can be revoked at any time
- Supports read-only and read-write permissions
# Example request
curl-X GET "https://api.apidock.com/v1/projects" \-H"Authorization: Bearer YOUR_API_KEY"
Endpoints
Core API endpoints for managing your documentation
Projects
/projects
Retrieve a list of all projects in your account.
View details
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| limit | integer | Items per page (default: 20, max: 100) |
| status | string | Filter by status: active, archived |
Response
{
"data": [
{
"id": "proj_abc123",
"name": "My API",
"slug": "my-api",
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"total": 1,
"page": 1,
"limit": 20
}
}
/projects
Create a new documentation project.
View details
Request Body
{
"name": "My New API",
"description": "API documentation for my project",
"visibility": "public",
"template": "default"
}
Response (201 Created)
{
"id": "proj_xyz789",
"name": "My New API",
"slug": "my-new-api",
"url": "https://docs.example.com/my-new-api",
"created_at": "2024-12-20T14:22:00Z"
}
/projects/{id}
Retrieve details for a specific project.
/projects/{id}
Update an existing project's settings.
/projects/{id}
Delete a project and all its documentation.
Documents
/projects/{id}/documents
List all documents in a project.
/projects/{id}/documents
Create a new document or endpoint reference.
/projects/{id}/documents/{doc_id}
Update a document's content and metadata.
Versions
/projects/{id}/versions
List all versions of a project's documentation.
/projects/{id}/versions
Create a new version snapshot.
Error Codes
APIDock uses conventional HTTP response codes to indicate success or failure.
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request succeeded |
| 201 | Created | Resource created successfully |
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource not found |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Error | Server error - please contact support |
Rate Limits
Rate limit headers are included in every response: X-RateLimit-Remaining
Ready to Build?
Try our interactive playground to test API calls in real-time.