DocuDetectDocs
Reference

Account

Account operations of the REST API, generated from the OpenAPI document.

Source: apps/api/openapi/public-v1.json. Base address https://docudetect.com/api/public/v1.

This API's OpenAPI 3.1 document

GET /openapi.json

Any valid key

Response 200

This document.

Example

curl "https://docudetect.com/api/public/v1/openapi.json" \
  -H "Authorization: Bearer $DOCUDETECT_API_KEY"

The account and key making the call

GET /me

Any valid key

Use it to test a connection.

Response 200

data: Me

Errors

StatusWhen
400Invalid input (invalid_request), or a document that isn't ready for this (the message says what to fix).
401Missing, unknown, expired or revoked key (invalid_api_key).
403The key lacks a permission (insufficient_scope), the account is suspended (account_suspended), a plan limit is reached (limit_*), or the abuse guard refused a send (held_for_review, email_unverified).
404Not found in this account (not_found).
429Too many calls (rate_limited), a reminder sent less than 10 minutes ago, the new-account or daily email limit (new_account_limit, email_limit). Every 429 carries Retry-After: wait that many seconds.

Example

curl "https://docudetect.com/api/public/v1/me" \
  -H "Authorization: Bearer $DOCUDETECT_API_KEY"