API template library

Simulate the DocuSign Admin API

A WireMock simulation of DocuSign's REST API — covering organization users and memberships, DS groups, product permission profiles, bulk user imports and exports, organization-level Connect, account provisioning, and data redaction.

Vendor
DocuSign
Functionality
Users, groups, bulk jobs, Connect
Spec version
1.0.0
Endpoints
74
Stubs
74
Protocol
REST
Validation
AI-validated Before publication, an AI agent exercised these endpoints against the real DocuSign API through WireMock's recording proxy, and the recorded traffic was used to verify each stub's request and response shapes.

Live sandbox · no signup, no API key

DocuSign Admin API

A running WireMock Cloud instance of this template, callable right now from a terminal, a script, or an AI agent.

Base URL
https://w4zm0k.wiremockapi.cloud

GET List the organizations the caller administers

curl -s -X GET 'https://w4zm0k.wiremockapi.cloud/Management/v2/organizations' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

POST Create a user in the Sales account

curl -s -X POST 'https://w4zm0k.wiremockapi.cloud/Management/v2/organizations/f4c8e1d2-6a3b-4c5d-9e7f-1a2b3c4d5e6f/users' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"user_name":"Jamie Rivera","first_name":"Jamie","last_name":"Rivera","email":"jamie.rivera@example.com","accounts":[{"id":"2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41"}],"auto_activate_memberships":true}'

GET Look the user up by email

curl -s -X GET 'https://w4zm0k.wiremockapi.cloud/Management/v2/organizations/f4c8e1d2-6a3b-4c5d-9e7f-1a2b3c4d5e6f/users?email=jamie.rivera%40example.com' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Method Path Summary
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups Returns a list of DSGroups.
POST /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups Creates a new DSGroup.
DELETE /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId} Deletes a DSGroup.
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId} Returns details about a single DSGroup.
DELETE /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId}/users Removes a list of users from a DSGroup.
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId}/users Gets a list of users in a DSGroup.
POST /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId}/users Adds a list of users to a DSGroup.
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/permission_profiles Get products and permission profiles
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/permission_profiles/users Get user's permission profiles by email address
POST /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/permission_profiles/users Assign permission profiles by email address
DELETE /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/users Revokes a user's access to one or more products.
GET /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/users/{userId}/permission_profiles Retrieves a user's product permission profiles by user ID.
POST /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/products/users/{userId}/permission_profiles Assigns permission profiles for a user by user ID.
POST /Management/v2.1/organizations/{organizationId}/accounts/{accountId}/users Creates or updates a multi-product user.
GET /Management/v2.1/organizations/{organizationId}/users/{userId}/dsprofile Retrieves the DS profile for a user specified by ID.
GET /Management/v2.1/organizations/{organizationId}/users/dsprofile Retrieves the DS profile for a user specified by email address.
POST /Management/v2/data_redaction/accounts/{accountId}/user Deletes membership data for a user on an account.
POST /Management/v2/data_redaction/organizations/{organizationId}/user Deletes data for one or more of a user's account memberships.
GET /Management/v2/organizations List organizations for authenticated user
GET /Management/v2/organizations/{organizationId}/accounts/{accountId}/groups Returns the list of groups in an account.
POST /Management/v2/organizations/{organizationId}/accounts/{accountId}/imports/bulk_users/add Import users to single account
POST /Management/v2/organizations/{organizationId}/accounts/{accountId}/imports/bulk_users/update Update users for single account
GET /Management/v2/organizations/{organizationId}/accounts/{accountId}/permissions Returns the list of permission profiles in an account.
POST /Management/v2/organizations/{organizationId}/accounts/{accountId}/users Adds users to an account.
GET /Management/v2/organizations/{organizationId}/assetGroup/{assetGroupId}/subAccountCreated/{assetGroupWorkId} Get a single account creation process.
GET /Management/v2/organizations/{organizationId}/assetGroups/{assetGroupId}/accountClones/{assetGroupWorkId} Gets information about a single cloned account.
POST /Management/v2/organizations/{organizationId}/assetGroups/accountClone Clone an existing Docusign account.
GET /Management/v2/organizations/{organizationId}/assetGroups/accountClones Gets all asset group account clones for an organization.
POST /Management/v2/organizations/{organizationId}/assetGroups/accountCreate Create account using plan and modules
GET /Management/v2/organizations/{organizationId}/assetGroups/accounts Get asset group accounts for an organization.
GET /Management/v2/organizations/{organizationId}/connect List Organization-Level Connect configurations
POST /Management/v2/organizations/{organizationId}/connect Adds a Connect configuration for an organization
DELETE /Management/v2/organizations/{organizationId}/connect/{connectId} Deletes information about an organization-level Connect configuration
GET /Management/v2/organizations/{organizationId}/connect/{connectId} Returns an organization-level Connect configuration
PUT /Management/v2/organizations/{organizationId}/connect/{connectId} Updates an organization-level Connect configuration
DELETE /Management/v2/organizations/{organizationId}/connect/oauth Delete Connect OAuth configuration
GET /Management/v2/organizations/{organizationId}/connect/oauth Returns information about an organization-level Connect OAuth configuration
POST /Management/v2/organizations/{organizationId}/connect/oauth Create Connect OAuth configuration
PUT /Management/v2/organizations/{organizationId}/connect/oauth Update Connect OAuth configuration
GET /Management/v2/organizations/{organizationId}/connect/secret Returns a list of the HMAC secrets for an organization.
POST /Management/v2/organizations/{organizationId}/connect/secret Creates a new Connect HMAC secret for an organization.
DELETE /Management/v2/organizations/{organizationId}/connect/secret/{keyId} Delete Connect HMAC secret
GET /Management/v2/organizations/{organizationId}/exports/account_settings List account settings export requests
POST /Management/v2/organizations/{organizationId}/exports/account_settings Creates a new account settings export request.
DELETE /Management/v2/organizations/{organizationId}/exports/account_settings/{exportId} Deletes a single Account Settings Export request
GET /Management/v2/organizations/{organizationId}/exports/account_settings/{exportId} Get account settings export results
GET /Management/v2/organizations/{organizationId}/exports/user_list Returns a list of pending and completed export requests.
POST /Management/v2/organizations/{organizationId}/exports/user_list Creates a user list export request.
DELETE /Management/v2/organizations/{organizationId}/exports/user_list/{exportId} Deletes a single User List Export request
GET /Management/v2/organizations/{organizationId}/exports/user_list/{exportId} Returns the results for single user list export request.
GET /Management/v2/organizations/{organizationId}/identity_providers Returns the list of identity providers for an organization.
GET /Management/v2/organizations/{organizationId}/imports/account_settings List bulk account settings import requests
POST /Management/v2/organizations/{organizationId}/imports/account_settings Creates a new account settings import request.
DELETE /Management/v2/organizations/{organizationId}/imports/account_settings/{importId} Deletes a Bulk Account Settings Import request
GET /Management/v2/organizations/{organizationId}/imports/account_settings/{importId} Get bulk account settings import request
GET /Management/v2/organizations/{organizationId}/imports/bulk_users Gets a list of all of the user import requests.
DELETE /Management/v2/organizations/{organizationId}/imports/bulk_users/{importId} Deletes a specific user import request.
GET /Management/v2/organizations/{organizationId}/imports/bulk_users/{importId} Returns the details of a single user import request.
GET /Management/v2/organizations/{organizationId}/imports/bulk_users/{importId}/results_csv Get CSV file of user import request
POST /Management/v2/organizations/{organizationId}/imports/bulk_users/add Creates a request to import new users into an account.

+14 more endpoints in the full spec.

Unauthenticated WireMock Cloud demo sandbox for DocuSign — not an official DocuSign sandbox, and it returns simulated example data only.

What's inside the Admin template

The template stands in for the Management API that DocuSign organization administrators script against, with paths kept under /Management so the official SDKs' base path still lines up. One organization, Lucky Shrub Holdings, owns two accounts (Sales and Legal), each preloaded with the Account Administrator, DocuSign Sender and DocuSign Viewer permission profiles. A user created without a profile lands on DocuSign Sender in the Everyone group, and the user record that comes back carries per-account memberships with plan name and license status, ready for the same parsing code a production provisioning job uses.

  • Users and memberships — create, look up by email or id, update profiles and addresses, activate and close memberships
  • Groups and permissions — DS groups with member counts, eSignature permission profiles and per-product CLM and eSign profiles
  • Bulk jobs — user-list and account-settings exports plus CSV user imports, each moving from queued to completed
  • Organization Connect — Connect configurations, the single OAuth configuration and HMAC secrets
  • Provisioning and privacy — account cloning and creation requests, plan items, identity providers, reserved domains and membership redaction

DocuSign Admin mock API FAQ

Email addresses are unique without regard to case, so a second create for the same address updates the existing person instead of making a duplicate. The response carries the original user id, and the accounts named in the request are merged into that user's memberships.

The Admin spec documents only 200 and 204 responses, and the mock follows it. A missing user, export or configuration reads back as an empty object or list, and bulk operations report failures per item in error_details. Branch on those fields rather than on HTTP status.

Yes. Redaction only succeeds for closed memberships: asking to redact one that is still open reports failure, and the same call made after DELETE …/users/{userId}/accounts reports success. A third attempt reports already_redacted.

The ids are shared on purpose. Lucky Shrub Holdings and its Sales account reappear in the Monitor and Notary templates, so cross-API test fixtures can use one set of ids. Each mock keeps its own state, though; a user added here doesn't appear anywhere else.

No. Any Bearer value, or none, is accepted, and every user you create is visible to other visitors of this public sandbox. Use placeholder names and emails, and never paste a real DocuSign token. A private WireMock Cloud copy gives you an isolated store you can reset.

Vendor names identify APIs represented by WireMock template sources. This page does not imply vendor endorsement, certification, partnership, or official integration status.