Developer API
API reference

Errors & limits

Every error uses the same shape and one of a fixed set of codes, and the limits on concurrency, daily volume, and retention are listed below. Every response carries a request_id, and if you quote it in a support request we can find your exact request in our logs.

What does an error response look like?

Every error response has the same body, shown here.

Error body
{ "error": { "code": "...", "message": "...", "request_id": "..." } }

The same value is also in the X-Request-Id response header, and you should always log request_id so you can include it when you report an issue.

What does each error code mean?

codeHTTPMeaning
missing_api_key401No X-API-Key header sent.
invalid_api_key401Key unknown, revoked, or partner suspended.
invalid_file_type400The uploaded file is not a PDF.
file_too_large413PDF exceeds the 50 MB limit.
empty_file400The uploaded file has zero bytes.
unsupported_price_list400The price_list value is not a code the service accepts, so use the price-list code from your Xactimate profile. The error message does not list the accepted codes.
unsupported_output_format400output_formats contains something other than esx or json.
feature_not_enabled400The request asked for "json" output while that output is disabled, which is the current production state.
too_many_active_jobs429You already have 3 jobs that are queued or processing, so wait for one to finish.
daily_limit_exceeded429You have reached 200 conversions today.
not_found404The job does not exist or belongs to another partner.
timeoutjob error.codeThe job stayed in processing for more than 20 minutes and was marked as failed.
unsupported_estimatejob error.codeThe PDF parsed to zero line items because the layout is unsupported (abbreviated, rough-draft-only, XactView, or statement-of-loss).
conversion_failedjob error.codeAn unexpected failure with no more specific code. Check error.message and quote the job_id when you contact us.

Codes marked "job error.code" appear inside a job's error object (from GET /v1/conversions/{id}), and not as an HTTP status, because the request itself succeeded even though the conversion did not.

What are the rate limits?

Two limits apply to each API key.

  • 3 concurrent jobs (queued or processing), and a 4th POST returns 429 too_many_active_jobs.
  • 200 conversions per day (UTC calendar day), after which requests return 429 daily_limit_exceeded.

If you need different limits, tell us about your integration.

How long are files kept?

  • Source PDFs and generated ESX files are retained for 30 days after the job completes, and then they are deleted.
  • After that, GET /v1/conversions/{id} still returns the job record, and summary stays available indefinitely, but esx_url is null and esx_expired is true, so download your ESX before the window closes if you need to keep it.

How do I retry a request safely?

Pass Idempotency-Key: <your-key> on POST /v1/conversions. A second POST with the same key from the same partner, within the retention window, returns the same job_id instead of creating a new job or re-uploading the PDF, which makes it safe to retry after a network timeout.

How do I debug a failed request with request_id?

Every response under /v1/*, whether it succeeds or fails, carries X-Request-Id, and error bodies repeat it as error.request_id. When something looks wrong, include that ID in your report, along with the job_id if you have one, and we can go straight to your request in our logs.

Also

The same host serves an interactive Swagger UI at /docs and the raw OpenAPI schema at /api/v1/openapi.json, which you can use to generate a typed client.