Developer docs menu

PACE Partner API

Rate limits and errors

Limits, status codes and error bodies.

Rate limits

LimitDefaultWhen exceeded
API requests per client120 per minute429 Too Many Requests with Retry-After: 60
Token requests per client30 per minute429 with "error": "slow_down"

Your limit is shown in rate_limit_per_minute on GET /api/v1/me/. If you need a higher limit, ask PACE. When you receive a 429, wait for the number of seconds in Retry-After before trying again.

Status codes

StatusMeaningWhat to do
200Success
400The request is malformedCheck the body against the reference.
401Missing, invalid, expired or revoked tokenRequest a new token. If that also fails, your client may have been rotated or revoked.
403Your token does not hold the scope this endpoint needsRequest a token with that scope, or ask PACE to grant it.
404Not found, or outside your organisationPACE answers the same way for both, so it never confirms that a record exists elsewhere.
429Rate limit exceededWait for Retry-After seconds.
5xxPACE errorRetry with exponential backoff.

Error bodies

API errors return a JSON object with detail:

JSON
{ "detail": "Invalid or expired access token." }

Token endpoint errors use the OAuth format with error and error_description. See Authentication.