Skip to content

Rate limits

Dockt applies approximate abuse-protection limits to each API credential or signed-in user. Credentials have separate limits; browser sessions for the same user share that user’s limits. The request groups are:

Request group Limit
Reads (GET and HEAD) 1,000 requests per 60 seconds
Writes 200 requests per 60 seconds
Document uploads to a Person or Company 20 requests per 60 seconds

These limits protect the service. They aren’t contracted quotas.

When a limit is exceeded, Dockt returns 429 Too Many Requests with an application/problem+json body and a Retry-After header in seconds.

  1. Stop sending requests in the affected workflow.
  2. Wait for Retry-After.
  3. Add a small random delay when several application workers may retry together, so they do not all retry at once.
  4. Retry with the original idempotency key when the operation supports one.
  5. Poll less often, or rely on webhook events.

Don’t retry a 429 at once. Many immediate retries extend the congestion and delay recovery.

  • Handle decision.created, document.processed and document.failed events instead of polling.
  • Send a worker’s details with the Assignment, instead of creating the Person first.
  • Cache catalogue reads, such as document types and compliance packages.
  • Use collection filters and a larger limit instead of many small pages.
  • Upload each file once per Person or Company. Dockt reuses it at every Workplace.