# Reimply > Convert, compress, ingest, optimize, merge, split and OCR files over HTTP. Also: prompt-injection test generation, PII pseudonymisation and Inspect checks. 1 file or tool call = 1 conversion (video and audio jobs count as 3). No credit maths. Files are deleted 60 minutes after a job finishes (inputs as soon as the job ends). Tool request payloads are not stored. Ingest and optimize run in memory and are not written to disk during processing. The API lives at https://reimply.com/v1 (not api.reimply.com). Docs: https://reimply.com/api/docs. OpenAPI: https://reimply.com/v1/openapi.json. Full text reference: https://reimply.com/llms-full.txt. ## Start here - [API docs](https://reimply.com/api/docs): human-readable reference, including authentication, test keys, sync and async jobs, webhooks and errors. - [OpenAPI 3.1](https://reimply.com/v1/openapi.json): machine-readable specification of every endpoint. - [Full API reference (llms-full.txt)](https://reimply.com/llms-full.txt): the same information as a single Markdown file. - [Format pairs](https://reimply.com/v1/conversions): every conversion the API accepts. - [HTTP API](https://reimply.com/api/docs): call https://reimply.com/v1 with curl, fetch or any HTTP client. An official TypeScript client, @reimply/sdk, is in the repository and is not on npm yet. There is no PyPI SDK. - [MCP server](https://www.npmjs.com/package/@reimply/mcp-server): npm package @reimply/mcp-server for Claude Desktop, Cursor and Windsurf. ## Endpoints - [/v1/convert](https://reimply.com/v1/convert): Convert a file - [/v1/compress](https://reimply.com/v1/compress): Compress an image, PDF, video or audio file - [/v1/merge](https://reimply.com/v1/merge): Merge PDFs (and images) into one PDF - [/v1/split](https://reimply.com/v1/split): Split a PDF - [/v1/organize](https://reimply.com/v1/organize): Reorder, remove and rotate PDF pages - [/v1/images-to-pdf](https://reimply.com/v1/images-to-pdf): Turn images into a PDF - [/v1/pdf-to-images](https://reimply.com/v1/pdf-to-images): Render PDF pages as images - [/v1/ocr](https://reimply.com/v1/ocr): Extract text from an image or scanned PDF - [/v1/ingest](https://reimply.com/v1/ingest): Turn a digital PDF, Word document or data file into Markdown, tables and chunks - [/v1/optimize](https://reimply.com/v1/optimize): Shrink an image or PDF to an exact byte cap - [/v1/protect](https://reimply.com/v1/protect): Add a password to a PDF - [/v1/unlock](https://reimply.com/v1/unlock): Remove a known PDF password - [/v1/prompt-injection/generate](https://reimply.com/v1/prompt-injection/generate): Generate prompt-injection test variants - [/v1/pii/pseudonymise](https://reimply.com/v1/pii/pseudonymise): Pseudonymise PII in text - [/v1/inspect](https://reimply.com/v1/inspect): Run Inspect checks on text or a file - [/v1/uploads](https://reimply.com/v1/uploads): Get a presigned upload URL - [/v1/jobs](https://reimply.com/v1/jobs): List recent jobs - [/v1/jobs/{id}](https://reimply.com/v1/jobs/{id}): Get a job - [/v1/jobs/{id}/outputs/{index}](https://reimply.com/v1/jobs/{id}/outputs/{index}): Download a result - [/v1/account](https://reimply.com/v1/account): Conversions, plan and limits - [/v1/conversions](https://reimply.com/v1/conversions): Every supported conversion pair - [/v1/webhooks/test](https://reimply.com/v1/webhooks/test): Send a signed test event to a URL ## Notes for agents - Authenticate with Authorization: Bearer rmk_... (live) or rmt_... (test). Test keys never use conversions, return livemode: false, accept files up to 2 MB, and are limited to 20 requests a minute and 100 an hour. Image, PDF and ingest results in test mode are watermarked or labelled. - Send Idempotency-Key on POST requests to retry safely for 24 hours. - Failed jobs are not charged. Quota headers: Reimply-Quota-Limit, Reimply-Quota-Remaining, Reimply-Quota-Reset. - Default is a synchronous 200 when the input is 4 MB or less. Larger files, async: true, or a webhook_url return 202. Poll GET /v1/jobs/{id}. - Shrink to an exact size with POST /v1/optimize and options.max_bytes (for example "100kb"). If the cap cannot be reached you get 422 target_unreachable and nothing is charged. - POST /v1/ingest (Starter, Growth and Scale, or any plan with a test key) returns markdown, tables and token chunks. - POST /v1/prompt-injection/generate, POST /v1/pii/pseudonymise and POST /v1/inspect are sync tools that cost 1 conversion each. Payloads are not stored. PII restore (restore: true) is free.