API Documentation

Use our REST API to process and rename documents programmatically.

Authentication

Include your API key in the Authorization: Bearer <key> header.

curl -X POST "https://your-domain.com/api/process"   -H "Authorization: Bearer YOUR_API_KEY"   -F "files=@/path/to/file.pdf"

POST /api/process

Upload one or more files to get AI-generated filenames.

  • Request: multipart/form-data with field files[]
  • Response: JSON array of objects with originalName and newName
{
  "processedFiles": [
    { "originalName": "bank_1.pdf", "newName": "Barclays_Statement_Jan_2024.pdf" }
  ]
}

Errors

Standard HTTP status codes. Error body contains message.

API Docs | AI Document Renamer | AI Document Renamer