> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# How to create an account

> Learn how to create a new Docusign eSignature account in your organization.

This topic demonstrates how to [create a new account](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854\&topicId=ptx1683672714427.html) in your organization.

> **Note**
>
> Run this code example from our [Quickstart](/docs/esign-rest-api/quickstart) or launcher projects: [Bash](https://github.com/docusign/code-examples-bash), [C#](https://github.com/docusign/code-examples-csharp), [Java](https://github.com/docusign/code-examples-java), [Node.js](https://github.com/docusign/code-examples-node), [PHP](https://github.com/docusign/code-examples-php), [PowerShell](https://github.com/docusign/code-examples-powershell), [Python](https://github.com/docusign/code-examples-python), or [Ruby](https://github.com/docusign/code-examples-ruby).

## Required data

Running the code in this how-to requires this data:

| Data element       | Description                                                                                                                                                                                                                                                                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Admin access       | The caller must be at least one of the following:- A full organization administrator
- A delegated organization administratorSee [Organization Administrators](https://support.docusign.com/s/document-item?language=en_US\&rsc_301\&bundleId=rrf1583359212854\&topicId=god1583359152535.html&_LANG=enus) for details on Docusign Admin roles. |
| \{BASE_PATH}       | A string value that forms the root of the URL required to make API calls. The base path value in the example code is set to target the developer environment at https\://\<domain>/management Where \<domain> is api-d.docusign.net for the developer environment and api.docusign.net for production.                                         |
| \{ORGANIZATION_ID} | A [GUID](http://guid.one/) value that identifies the the organization that contains the account to which the user will be added. Copy the value from the **Organization ID** field in the **Organization** section of the [Account Profile](https://admindemo.docusign.com/authenticate?goTo=accountProfile) page.                             |

## Step 1. Obtain your OAuth token

To make the API call(s) shown in this how-to, you need a valid OAuth access token. Docusign supports access tokens for three different OAuth grant types: Authorization Code Grant, Implicit Grant, and JSON Web Token (JWT) Grant. Choose the OAuth grant type appropriate for your scenario.

Docusign Admin OAuth access tokens are the same ones used for our [eSignature REST API](/docs/esign-rest-api/esign101/auth), although you must request one or more [Docusign Admin scopes](/docs/admin-api/admin101/auth) to call the Docusign Admin API. The endpoint calls made in this how-to require that you request the following Docusign Admin-specific scopes when obtaining your access token: `organization_sub_account_write` and `organization_sub_account_read`.

See [Docusign Admin Authentication](/docs/admin-api/admin101/auth) for the full list of Docusign Admin scopes.

![Three icons that represent the three methods a user can use to obtain an OAuth token: JSON Web Token (JWT), Public Authorization Code Grant (ACG), and Confidential Authorization Code grant](/_fern-files/_img/64f473773042ee439449a096bf7673292b1585b86a4ccc55f82ba0dda41f61a1.webp)

## Step 2. Construct your API headers

After you have a valid OAuth access token, you are ready to construct the API headers that you will pass to the API call. Construct your headers like this, but make sure to substitute your valid OAuth access token for \{ACCESS_TOKEN}.

**`Bash`**

```bash title="Bash"
declare -a Headers=('--header' "Authorization: Bearer ${ACCESS_TOKEN}"
    '--header' "Accept: application/json"
    '--header' "Content-Type: application/json")
```

**`C#`**

```csharp title="C#"
var docuSignClient = GetConfiguredClient(basePath, accessToken);
var assetGroupApi = new ProvisionAssetGroupApi(docuSignClient);
```

**`Java`**

```java title="Java"
ApiClient apiClient = createApiClient(accessToken, basePath);
return new ProvisionAssetGroupApi(apiClient);
```

**`Node.js`**

```javascript title="Node.js"
const apiClient = new docusignAdmin.ApiClient();
apiClient.setBasePath(args.basePath);
apiClient.addDefaultHeader('Authorization', 'Bearer ' + args.accessToken);
```

**`PHP`**

```php title="PHP"
$config = new Configuration();
$config->setAccessToken($accessToken);
$config->setHost('https://api-d.docusign.net/management');
$config->addDefaultHeader('Authorization', 'Bearer ' . $accessToken);
$this->apiClient = new ApiClient($config);
```

**`PowerShell`**

```text title="PowerShell"
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.add("Authorization", "Bearer $accessToken")
$headers.add("Accept", "application/json")
$headers.add("Content-Type", "application/json")
```

**`Python`**

```python title="Python"
api_client = ApiClient(host=args["base_path"])
api_client.set_default_header(
    header_name="Authorization",
    header_value=f"Bearer {access_token}"
)
```

**`Ruby`**

```ruby title="Ruby"
configuration = DocuSign_Admin::Configuration.new
configuration.host = Rails.configuration.admin_host

api_client = DocuSign_Admin::ApiClient.new(configuration)
api_client.set_default_header('Authorization', "Bearer #{args[:access_token]}")
```

## Step 3. Get the plan and subscription information for the new account

First, get the plan and subscription information for the organization under which the new account will be created. To do this, call the [AccountCreation: GetOrganizationPlanItems](/docs/admin-api/reference/accountprovisioning/accountcreation/getorganizationplanitems) endpoint. Save the values of `planId` and `subscriptionId` to be used in your request body in the next step.

**`Bash`**

```bash title="Bash"
response=$(mktemp /tmp/response-oa.XXXXXX)
Status=$(curl --request GET ${base_path}/v2/organizations/${ORGANIZATION_ID}/planItems \
"${Headers[@]}" \
--output ${response})

echo "Results from the GET request:"
cat $response
echo ""

PLAN_ID=$(cat $response | sed 's/,/\n/g' | grep plan_id | sed 's/.*\"plan_id\":\"//g' | sed 's/\".*//g')
SUBSCRIPTION_ID=$(cat $response | sed 's/,/\n/g' | grep subscription_id | sed 's/.*\"subscription_id\":\"//g' | sed 's/\".*//g')
```

**`C#`**

```csharp title="C#"
var response = assetGroupApi.GetOrganizationPlanItemsWithHttpInfo(orgId);
response.Headers.TryGetValue("X-RateLimit-Remaining", out string remaining);
response.Headers.TryGetValue("X-RateLimit-Reset", out string reset);

if (reset != null && remaining != null)
{
    DateTime resetDate = DateTimeOffset.FromUnixTimeSeconds(long.Parse(reset)).UtcDateTime;
    Console.WriteLine("API calls remaining: " + remaining);
    Console.WriteLine("Next Reset: " + resetDate);
}

return response.Data.FirstOrDefault();
```

**`Java`**

```java title="Java"
public static OrganizationSubscriptionResponse getFirstPlanItem(
        ProvisionAssetGroupApi provisionAssetGroupApi,
        UUID orgId) throws ApiException {
    ApiResponse<List<OrganizationSubscriptionResponse>> response = provisionAssetGroupApi
            .getOrganizationPlanItemsWithHttpInfo(orgId);

    Map<String, List<String>> headers = response.getHeaders();
    List<String> remaining = headers.get("X-RateLimit-Remaining");
    List<String> reset = headers.get("X-RateLimit-Reset");

    if (remaining != null & reset != null) {
        Instant resetInstant = Instant.ofEpochSecond(Long.parseLong(reset.get(0)));
        System.out.println("API calls remaining: " + remaining);
        System.out.println("Next Reset: " + resetInstant);
    }

    return response.getData().stream().findFirst().orElse(null);
}
```

**`Node.js`**

```javascript title="Node.js"
const assetGroupApi = new docusignAdmin.ProvisionAssetGroupApi(apiClient);
const planItems = await assetGroupApi.getOrganizationPlanItems(args.organizationId);
```

**`PHP`**

```php title="PHP"
public static function getFirstPlanItem(
    ProvisionAssetGroupApi $provisionAssetGroupApi,
    string $orgId
): ?OrganizationSubscriptionResponse {
    $planItems = $provisionAssetGroupApi->getOrganizationPlanItemsWithHttpInfo($orgId);

    $remaining = $planItems[2]['X-RateLimit-Remaining'] ?? null;
    $reset = $planItems[2]['X-RateLimit-Reset'] ?? null;

    if ($remaining !== null && $reset !== null) {
        $resetInstant = (new DateTime())->setTimestamp((int)$reset);
        error_log("API calls remaining: $remaining");
        error_log("Next Reset: " . $resetInstant->format(\DateTime::ATOM));
    }

    return $planItems[0][0] ?? null;
}
```

**`PowerShell`**

```text title="PowerShell"
$uri = "${base_path}/v2/organizations/${organizationId}/planItems"
$response = Invoke-WebRequest -headers $headers -Uri $uri -Method GET

Write-Output "Results from the GET request:"
$response.Content | ConvertFrom-Json | ConvertTo-Json -Depth 5
```

**`Python`**

```python title="Python"
asset_group_api = ProvisionAssetGroupApi(api_client=api_client)
(plan_items, status, headers) = asset_group_api.get_organization_plan_items_with_http_info(args["organization_id"])

remaining = headers.get("X-RateLimit-Remaining")
reset = headers.get("X-RateLimit-Reset")

if remaining is not None and reset is not None:
    reset_date = dt.fromtimestamp(int(reset), tz=timezone.utc)
    print(f"API calls remaining: {remaining}")
    print(f"Next Reset: {reset_date}")
```

**`Ruby`**

```ruby title="Ruby"
asset_group_api = DocuSign_Admin::ProvisionAssetGroupApi.new(api_client)
results, _status, headers = asset_group_api.get_organization_plan_items_with_http_info(args[:organization_id])

remaining = headers['X-RateLimit-Remaining']
reset = headers['X-RateLimit-Reset']

if remaining && reset
  reset_date = Time.at(reset.to_i).utc
  puts "API calls remaining: #{remaining}"
  puts "Next Reset: #{reset_date}"
end
```

## Step 4. Construct the request body

Next, create the request body. Set the value of `id` to the subscription ID returned in the previous step. The value of `planId` should also come from the response of the previous step. Inside the `targetAccount` object, replace `{ACCOUNT_NAME}`, `{FIRST_NAME}`, `{LAST_NAME}`, and `{EMAIL}` with the name and email address of the administrator for the new account.

The `countryCode` parameter is used to determine the data residency for the new account. In the developer environment there is only one region available, and the value should be set to `"US"`. In the production environment this value can be set to the two-character [ISO 3166 country code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) for the country of the target account.

**`Bash`**

```bash title="Bash"
# The country code value is set to "US" for the developer environment
# In production, set the value to the code for the country of the target account
printf \
'{
    "subscriptionDetails": {
        "id": "'${SUBSCRIPTION_ID}'",
		"planId": "'${PLAN_ID}'",
		"modules": []
    },
    "targetAccount": {
        "name": "'${ACCOUNT_NAME}'",
        "countryCode": "US",
        "admin": {
            "email": "'${EMAIL_ADDRESS}'",
            "firstName": "'${FIRST_NAME}'",
            "lastName": "'${LAST_NAME}'",
            "locale": "en"
        }
    }
}
' >>$request_data
```

**`C#`**

```csharp title="C#"
var subAccountRequest = BuildSubAccountRequest(email, firstName, lastName, subscriptionId, planId);
        private static SubAccountCreateRequest BuildSubAccountRequest(
string email,
string firstName,
string lastName,
string subscriptionId,
Guid? planId)
        {
return new SubAccountCreateRequest
{
    SubscriptionDetails = new SubAccountCreateRequestSubAccountCreationSubscription
    {
        Id = subscriptionId,
        PlanId = planId,
        Modules = new List<Guid?>(),
    },
    TargetAccount = new SubAccountCreateRequestSubAccountCreationTargetAccountDetails
    {
        Name = DefaultAccountName,
        CountryCode = DefaultCountryCode,
        Admin = new SubAccountCreateRequestSubAccountCreationTargetAccountAdmin
        {
            Email = email,
            FirstName = firstName,
            LastName = lastName,
            Locale = SubAccountCreateRequestSubAccountCreationTargetAccountAdmin.LocaleEnum.En,
        },
    },
};
        }
    }
```

**`Java`**

```java title="Java"
private static SubAccountCreateRequest buildSubAccountRequest(
        String email,
        String firstName,
        String lastName,
        String subscriptionId,
        UUID planId) {
    List<UUID> uuidList = new ArrayList<>();
    SubAccountCreateRequest subAccountRequest = new SubAccountCreateRequest();
    SubAccountCreateRequestSubAccountCreationSubscription subscriptionDetails = new SubAccountCreateRequestSubAccountCreationSubscription();
    subscriptionDetails.setId(subscriptionId);
    subscriptionDetails.setPlanId(planId);
    subscriptionDetails.setModules(uuidList);

    SubAccountCreateRequestSubAccountCreationTargetAccountDetails targetAccount = new SubAccountCreateRequestSubAccountCreationTargetAccountDetails();
    targetAccount.setName(DEFAULT_ACCOUNT_NAME);
    targetAccount.setCountryCode(DEFAULT_COUNTRY_CODE);

    SubAccountCreateRequestSubAccountCreationTargetAccountAdmin admin = new SubAccountCreateRequestSubAccountCreationTargetAccountAdmin();
    admin.setEmail(email);
    admin.setFirstName(firstName);
    admin.setLastName(lastName);
    admin.setLocale(SubAccountCreateRequestSubAccountCreationTargetAccountAdmin.LocaleEnum.EN);

    targetAccount.setAdmin(admin);
    subAccountRequest.setSubscriptionDetails(subscriptionDetails);
    subAccountRequest.setTargetAccount(targetAccount);

    return subAccountRequest;
}
```

**`Node.js`**

```javascript title="Node.js"
const accountData = docusignAdmin.SubAccountCreateRequest.constructFromObject({
  subscriptionDetails: docusignAdmin.SubAccountCreateRequestSubAccountCreationSubscription.constructFromObject({
    id: args.subscriptionId,
    planId: args.planId,
    modules: [],
  }),
  targetAccount: docusignAdmin.SubAccountCreateRequestSubAccountCreationTargetAccountDetails.constructFromObject({
    name: 'CreatedThroughAPI',
    countryCode: 'US',
    admin: docusignAdmin.SubAccountCreateRequestSubAccountCreationTargetAccountAdmin.constructFromObject({
      email: args.email,
      firstName: args.firstName,
      lastName: args.lastName,
      locale: 'en',
    }),
  }),
});
```

**`PHP`**

```php title="PHP"
private static function buildSubAccountRequest(
    string $email,
    string $firstName,
    string $lastName,
    string $subscriptionId,
    string $planId
): SubAccountCreateRequest {
    $uuidList = [];

    $subscriptionDetails = new SubAccountCreateRequestSubAccountCreationSubscription();
    $subscriptionDetails->setId($subscriptionId);
    $subscriptionDetails->setPlanId($planId);
    $subscriptionDetails->setModules($uuidList);

    $targetAccount = new SubAccountCreateRequestSubAccountCreationTargetAccountDetails();
    $targetAccount->setName(self::DEFAULT_ACCOUNT_NAME);
    $targetAccount->setCountryCode(self::DEFAULT_COUNTRY_CODE);

    $admin = new SubAccountCreateRequestSubAccountCreationTargetAccountAdmin();
    $admin->setEmail($email);
    $admin->setFirstName($firstName);
    $admin->setLastName($lastName);
    $admin->setLocale(SubAccountCreateRequestSubAccountCreationTargetAccountAdmin::LOCALE_EN);

    $targetAccount->setAdmin($admin);

    $subAccountRequest = new SubAccountCreateRequest();
    $subAccountRequest->setSubscriptionDetails($subscriptionDetails);
    $subAccountRequest->setTargetAccount($targetAccount);

    return $subAccountRequest;
}
```

**`PowerShell`**

```text title="PowerShell"
# The country code value is set to "US" for the developer environment
# In production, set the value to the code for the country of the target account
$body = @"
{
  "subscriptionDetails": {
    "id": "$subscriptionId",
		"planId": "$planId",
		"modules": []
  },
  "targetAccount": {
    "name": "CreatedThroughAPI",
    "countryCode": "US",
    "admin": {
      "email": "$emailAddress",
      "firstName": "$firstName",
      "lastName": "$lastName",
      "locale": "en"
    }
  }
}
"@
```

**`Python`**

```python title="Python"
account_data = SubAccountCreateRequest(
    subscription_details=SubAccountCreateRequestSubAccountCreationSubscription(
        id=args["subscription_id"],
        plan_id=args["plan_id"],
        modules=[]
    ),
    target_account=SubAccountCreateRequestSubAccountCreationTargetAccountDetails(
        name="CreatedThroughAPI",
        country_code="US",
        admin=SubAccountCreateRequestSubAccountCreationTargetAccountAdmin(
            email=args["email"],
            first_name=args["first_name"],
            last_name=args["last_name"],
            locale="en"
        )
    )
)
```

**`Ruby`**

```ruby title="Ruby"
target_account_admin = DocuSign_Admin::SubAccountCreateRequestSubAccountCreationTargetAccountAdmin.new
target_account_admin.first_name = args[:first_name]
target_account_admin.last_name = args[:last_name]
target_account_admin.email = args[:email]
target_account_admin.locale = 'en'

target_account = DocuSign_Admin::SubAccountCreateRequestSubAccountCreationTargetAccountDetails.new
target_account.name = 'CreatedThroughAPI'
target_account.admin = target_account_admin
target_account.country_code = 'US'

subscription_details = DocuSign_Admin::SubAccountCreateRequestSubAccountCreationSubscription.new
subscription_details.id = args[:subscription_id]
subscription_details.plan_id = args[:plan_id]
subscription_details.modules = []

account_data = DocuSign_Admin::SubAccountCreateRequest.new
account_data.subscription_details = subscription_details
account_data.target_account = target_account
```

## Step 5. Call the Docusign Admin API to create the account

Now that you have constructed your API headers and request body, make a POST request to the [AccountCreation : CreateAssetGroupAccount](/docs/admin-api/reference/accountprovisioning/accountcreation/createassetgroupaccount) endpoint and include the request body to create the new account. Here’s how you make the call, but make sure to substitute your organization ID for `{ORGANIZATION_ID}`.

> **Note**
>
> View the source code for this how-to on GitHub: [Bash](https://github.com/docusign/code-examples-bash/blob/master/examples/Admin/eg013CreateAccount.sh), [C#](https://github.com/docusign/code-examples-csharp/blob/master/launcher-csharp/Admin/Examples/CreateAccount.cs), [Java](https://github.com/docusign/code-examples-java/blob/master/src/main/java/com/docusign/controller/admin/services/CreateAccountService.java), [Node.js](https://github.com/docusign/code-examples-node/blob/master/lib/admin/examples/createAccount.js), [PHP](https://github.com/docusign/code-examples-php/blob/master/src/Services/Examples/Admin/CreateAccountService.php),  [PowerShell](https://github.com/docusign/code-examples-powershell/blob/master/examples/Admin/eg013CreateAccount.ps1), [Python](https://github.com/docusign/code-examples-python/blob/master/app/admin/examples/eg013_create_account.py), and [Ruby](https://github.com/docusign/code-examples-ruby/blob/master/app/services/admin_api/eg013_create_account_service.rb).

**`Bash`**

```bash title="Bash"
response=$(mktemp /tmp/response-oa.XXXXXX)
Status=$(curl --request POST ${base_path}/v2/organizations/${ORGANIZATION_ID}/assetGroups/accountCreate \
"${Headers[@]}" \
--data-binary @${request_data} \
--output ${response})
```

**`C#`**

```csharp title="C#"
var response = assetGroupApi.CreateAssetGroupAccountWithHttpInfo(orgId, subAccountRequest);
response.Headers.TryGetValue("X-RateLimit-Remaining", out string remaining);
response.Headers.TryGetValue("X-RateLimit-Reset", out string reset);

if (reset != null && remaining != null)
{
    DateTime resetDate = DateTimeOffset.FromUnixTimeSeconds(long.Parse(reset)).UtcDateTime;
    Console.WriteLine("API calls remaining: " + remaining);
    Console.WriteLine("Next Reset: " + resetDate);
}

return response.Data;
```

**`Java`**

```java title="Java"
public static SubscriptionProvisionModelAssetGroupWorkResult createAccountBySubscription(
        ProvisionAssetGroupApi provisionAssetGroupApi,
        UUID orgId,
        String email,
        String firstName,
        String lastName,
        String subscriptionId,
        UUID planId) throws ApiException {
    SubAccountCreateRequest subAccountRequest = buildSubAccountRequest(email, firstName, lastName, subscriptionId,
            planId);

    ApiResponse<SubscriptionProvisionModelAssetGroupWorkResult> response = provisionAssetGroupApi
            .createAssetGroupAccountWithHttpInfo(orgId, subAccountRequest);

    Map<String, List<String>> headers = response.getHeaders();
    List<String> remaining = headers.get("X-RateLimit-Remaining");
    List<String> reset = headers.get("X-RateLimit-Reset");

    if (remaining != null & reset != null) {
        Instant resetInstant = Instant.ofEpochSecond(Long.parseLong(reset.get(0)));
        System.out.println("API calls remaining: " + remaining);
        System.out.println("Next Reset: " + resetInstant);
    }

    return response.getData();
}
```

**`Node.js`**

```javascript title="Node.js"
const assetGroupApi = new docusignAdmin.ProvisionAssetGroupApi(apiClient);
return assetGroupApi.createAssetGroupAccount(accountData, args.organizationId);
```

**`PHP`**

```php title="PHP"
$response = $provisionAssetGroupApi->createAssetGroupAccountWithHttpInfo($orgId, $subAccountRequest);

$remaining = $response[2]['X-RateLimit-Remaining'] ?? null;
$reset = $response[2]['X-RateLimit-Reset'] ?? null;

if ($remaining !== null && $reset !== null) {
    $resetInstant = (new DateTime())->setTimestamp((int)$reset);
    error_log("API calls remaining: $remaining");
    error_log("Next Reset: " . $resetInstant->format(\DateTime::ATOM));
}

return $response[0];
```

**`PowerShell`**

```text title="PowerShell"
$uri = "${base_path}/v2/organizations/${organizationId}/assetGroups/accountCreate"
$response = Invoke-WebRequest -headers $headers -Uri $uri -body $body -Method POST

Write-Output "Results from the create account method:"
	$response.Content | ConvertFrom-Json | ConvertTo-Json -Depth 5
```

**`Python`**

```python title="Python"
asset_group_api = ProvisionAssetGroupApi(api_client=api_client)
(results, status, headers) = asset_group_api.create_asset_group_account_with_http_info(args["organization_id"], account_data)

remaining = headers.get("X-RateLimit-Remaining")
reset = headers.get("X-RateLimit-Reset")

if remaining is not None and reset is not None:
    reset_date = dt.fromtimestamp(int(reset), tz=timezone.utc)
    print(f"API calls remaining: {remaining}")
    print(f"Next Reset: {reset_date}")
```

**`Ruby`**

```ruby title="Ruby"
asset_group_api = DocuSign_Admin::ProvisionAssetGroupApi.new(api_client)
results, _status, headers = asset_group_api.create_asset_group_account_with_http_info(args[:organization_id], account_data)

remaining = headers['X-RateLimit-Remaining']
reset = headers['X-RateLimit-Reset']

if remaining && reset
  reset_date = Time.at(reset.to_i).utc
  puts "API calls remaining: #{remaining}"
  puts "Next Reset: #{reset_date}"
end
```

## Expected response

If you run this code example from our Quickstart or launcher projects, you should see a JSON response similar to the code shown.

In addition, an account activation email will be sent to the email address specified in the request body. The new account must be activated before an additional account can be provisioned. Organizations with auto-activation enabled do not require this step.

**`Sample response`**

```json title="Sample response"
{
  "AssetGroupWork": {
    "AssetGroupWorkId": "81bffa7c-xxxx-xxxx-beaxxxx4-9ebd34820ea3",
    "AssetGroupId": "73018b16-xxxx-xxxx-xxxx-1e51982162fd",
    "AssetGroupWorkType": "AccountAssetCreate",
    "Status": "Pending",
    "TargetAccountId": "00000000-xxxx-xxxx-xxxx-000000000000",
    "CreateSubAccountDetails": {
      "SubscriptionDetails": {
        "SubscriptionId": "795b8b77-xxxx-xxxx-xxxx-a57827759219",
        "PlanId": "22a84d6c-xxxx-xxxx-xxxx-1232cc3e1a5b",
        "Modules": []
      },
      "Name": "Account Name",
      "CountryCode": "US",
      "Region": "NA",
      "Site": "Demo",
      "AdminUser": {
        "EmailAddress": "example@example.com",
        "FirstName": "First",
        "LastName": "Last",
        "Locale": "en"
      },
      "BillingProfileType": 0
    },
    "Attempts": 0,
    "Message": "Awaiting Asset Group Work Job",
    "NewAssetGroupSubscriptionId": "00000000-0000-0000-0000-000000000000",
    "CreatedBy": "8cb9aa3f-xxxx-xxxx-xxxx-f6ce2e16dad1",
    "CreatedByType": 1,
    "CreatedDate": "2024-08-07T21:17:05.8912009Z",
    "UpdatedBy": "8cb9aa3f-xxxx-xxxx-xxxx-f6ce2e16dad1",
    "UpdatedByType": 1,
    "UpdatedDate": "2024-08-07T21:17:05.8912009Z"
  },
  "Message": "",
  "Success": true
}
```

## Next steps

* Run this code example from our [Quickstart](/docs/esign-rest-api/quickstart) or launcher projects: [C#](https://github.com/docusign/code-examples-csharp), [Java](https://github.com/docusign/code-examples-java), [Node.js](https://github.com/docusign/code-examples-node), [PHP](https://github.com/docusign/code-examples-php), [Python](https://github.com/docusign/code-examples-python), or [Ruby](https://github.com/docusign/code-examples-ruby).
* See [How to clone an account](/docs/admin-api/how-to/clone-account).
* See how to [Go-Live](/docs/admin-api/go-live) with a completed app and find the base path for API calls in the production environment.