REST API · v1
API Documentation
Integrate iLoveToolkit's PDF, image, and Word processing into your own apps. All endpoints return JSON and accept multipart/form-data.
Overview
Base URL
https://api.ilovetoolkit.com/v1
Version
v1 (stable)
Format
JSON + multipart
Quick start
1. Generate an API key from your dashboard.
2. Exchange it for an access token using the POST /auth/token endpoint.
3. Include the token as Authorization: Bearer <token> on every request.
4. Upload a file and receive a download URL in the response.
bash
# 1. Get a token
TOKEN=$(curl -s -X POST https://api.ilovetoolkit.com/v1/auth/token \
-H "Content-Type: application/json" \
-d '{"api_key":"sk_live_xxxx"}' | jq -r .access_token)
# 2. Compress a PDF
curl -X POST https://api.ilovetoolkit.com/v1/pdf/compress \
-H "Authorization: Bearer $TOKEN" \
-F "file=@document.pdf" \
-F "quality=medium"Errors
StatusCodeMeaning
400invalid_requestMissing or invalid parameters.
401unauthorizedMissing, expired, or invalid token.
403forbiddenYour plan doesn't support this operation.
413file_too_largeFile exceeds the size limit for your plan.
415unsupported_formatFile type is not supported by this tool.
422processing_failedThe file could not be processed. It may be corrupted.
429rate_limit_exceededToo many requests. See rate limits.
500server_errorUnexpected server error. Retry after a moment.
json
{
"error": {
"code": "file_too_large",
"message": "The uploaded file exceeds the 10 MB limit for your plan.",
"docs": "https://ilovetoolkit.com/api-docs#errors"
}
}Rate limits
PlanRequests/minTasks/day
Free105
Pro60Unlimited
Business300Unlimited
EnterpriseCustomCustom
Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (Unix timestamp). When you exceed the limit you'll receive a 429 response. Wait until the reset timestamp before retrying.
Ready to build?
Get your API key and start integrating in minutes.