API Overview
The InkWell API is a RESTful interface that allows you to interact with our blog platform programmatically. Create, read, update, and delete articles, manage authors, and engage with community content.
https://api.inkwell.com/v1
All API requests should be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Authentication
The InkWell API uses Bearer Token authentication. You can generate API keys from your Dashboard Settings. Always keep your API key secure and never expose it in client-side code.
# Include in every request Authorization: Bearer sk_live_your_api_key_here
Articles
Articles are the core content resource on InkWell. Each article contains metadata, formatting, author information, and engagement metrics.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of results (default: 20, max: 100) |
offset | integer | Pagination offset |
tag | string | Filter by tag slug |
sort | string | published_at, views, likes |
Response Example
{
"data": [
{
"id": "art_8x92k1m4",
"title": "The Future of AI Content",
"slug": "future-ai-content-2025",
"excerpt": "How generative models are reshaping...",
"author_id": "usr_7j2p9",
"tags: ["technology, "ai, "trends],
"views: 14820,
"published_at: "2024-12-15T09:00:00Z
}
],
"meta": {
"total: 854,
"next_offset: 20
}
}
Request Body
{
"title: "Getting Started with InkWell API",
"content: "# Introduction...",
"tags: ["developer, "guide],
"status: "draft,
"featured_image_url: "https://img.inkwell.com/...
}
Response Status Codes
Response
{
"success: true,
"message: "Article successfully deleted
}
Rate Limits
To ensure platform stability, API requests are throttled based on your plan tier.
- Free Tier: 60 requests / minute
- Pro Tier: 600 requests / minute
- Enterprise: Custom limits
Rate limit headers are included in every response:
X-RateLimit-Limit: 60 X-RateLimit-Remaining: 42 X-RateLimit-Reset: 1702654320
Exceeding limits returns a 429 Too Many Requests status with a Retry-After header.
Error Handling
InkWell uses conventional HTTP status codes to indicate success or failure. Codes in the 2xx range indicate success, 4xx indicate client errors, and 5xx indicate server errors.
{
"error: {
"code: "resource_not_found",
"message: "The requested article does not exist",
"status: 404,
"request_id: "req_9x2m4k1p
}
}
Always include the request_id when contacting support for troubleshooting.
Need Help?
Check our Developer Forum or contact api-support@inkwell.com. For security concerns, please use our PGP Key.