All API requests require authentication via your API key. Include your key in the Authorization header of every request.
Authorization: Bearer YOUR_API_KEY{
"file": "string (required)",
"format": "word|excel|image",
"options": {
"quality": "low|medium|high",
"ocr": "boolean"
}
}curl -X POST https://api.pdfera.com/v1/convert \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.docx" \
-F "format=word"{
"id": "conv_12345",
"status": "processing",
"download_url": "https://...",
"expires_at": "2023-08-20T12:00:00Z"
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key provided"
}
}400 - Bad Request401 - Unauthorized429 - Rate Limit Exceeded500 - Internal Server Error