Docuflex › E-signature › API › Account admin
API reference: Account admin
Usage, webhook failures, envelope search and alert settings.
Create a Docuflex account Read the API reference Connect your AI agent
| Method | Path | What it does |
|---|---|---|
GET | /v1/accounts/{accountId}/admin/usage | Usage dashboard: per-day envelope counts, completion rate, timing, top templates, storage, webhook success |
GET | /v1/accounts/{accountId}/admin/webhook-failures | Recent failed/exhausted webhook deliveries |
GET | /v1/accounts/{accountId}/admin/envelopes/search | Search envelopes by subject, recipient email, or envelope id |
PATCH | /v1/accounts/{accountId}/admin/alerts | Configure alert destinations/thresholds |
GET | /v1/admin/platform/health-history | Hourly health-check history + latest status (platform-wide; see multi-tenant caveat) |
POST | /v1/admin/platform/health-runs | Record a health-check run (internal cron only; HMAC-protected) |
Conventions
- Base URL:
https://api.docuflex.net; tenant routes are/v1/accounts/{accountId}/.... - Auth:
x-api-key: dfx_live_..., orAuthorization: Bearer <OAuth2 access token>. - Errors: always
{"error":{"code","message","details","requestId"}}; the requestId is also in thex-request-idheader. - Pagination: offset (
?page=&pageSize=, max 100) or cursor (?cursor=&limit=, follownextCursoruntilhasMoreis false). - Idempotency: any POST or PUT accepts
Idempotency-Key; same key + different body is409 IDEMPOTENCY_KEY_REUSED. - Rate limits:
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reseton every response;429 RATE_LIMITEDwithRetry-After. - Tabs: coordinates are fractions of the page (origin top-left);
documentIndexandrecipientIndexrefer to positions in the same request. - Spec: /openapi.json (OpenAPI 3). TypeScript client
@docuflex/sdk; Postman and Bruno collections ship with the repo.