Docuflex › E-signature › API › Accounts and members
API reference: Accounts and members
Account settings and membership management.
Create a Docuflex account Read the API reference Connect your AI agent
| Method | Path | What it does |
|---|---|---|
GET | /v1/accounts/{accountId} | Get account settings, branding and plan |
PATCH | /v1/accounts/{accountId} | Update account name, settings, branding, dataResidency |
GET | /v1/accounts/{accountId}/members | List account members |
POST | /v1/accounts/{accountId}/members | Invite a member Creates a stub user when the email is unknown; the invite email is pending a core EmailJobKind addition ('member_invite'). |
PATCH | /v1/accounts/{accountId}/members/{membershipId} | Change a member role (last owner cannot be demoted) |
DELETE | /v1/accounts/{accountId}/members/{membershipId} | Remove a member (last owner cannot be removed) |
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.