Inkhouse API
The Inkhouse API lets you programmatically manage your blog posts. All endpoints require authentication and return JSON responses.
Base URL
https://inkhouse.haripriya.org/api/v1Authentication
All requests require a Bearer token in the Authorization header. Generate an API key from your dashboard.
Authorization: Bearer ink_your_api_key
Rate Limits
API requests are limited to 1,000 requests per hour per API key.
| Header | Description |
|---|---|
| X-RateLimit-Limit | Max requests per hour |
| X-RateLimit-Remaining | Requests remaining |
| X-RateLimit-Reset | Reset timestamp (ISO) |
Errors
Errors return a JSON object with success: false and an error code.
| Code | Status | Description |
|---|---|---|
| UNAUTHORIZED | 401 | Invalid API key |
| FORBIDDEN | 403 | No access to resource |
| NOT_FOUND | 404 | Resource not found |
| VALIDATION_ERROR | 400 | Invalid request |
| RATE_LIMITED | 429 | Too many requests |
GET
/posts$
curl -X GET \
url "https://inkhouse.haripriya.org/api/v1/posts" \
-H "Authorization: Bearer your_api_key" \
-H "Content-Type: application/json"
Try it out
GET
/posts$
curl -X GET \
url "https://inkhouse.haripriya.org/api/v1/posts" \
-H "Authorization: Bearer your_api_key" \
-H "Content-Type: application/json"