> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# Management API

**Management API** enables you to perform most [control panel](https://manage.voximplant.com/) operations using **API requests**.

To use management API, you need a [service account](https://manage.voximplant.com/settings/service_accounts). You can manage service account permissions by assigning roles. If a service account lacks assigned roles, it has limited access to basic Management API methods.

## What you can do with management API

With management API, you can perform the following tasks:

* Create and edit Voximplant accounts, including child accounts.
* Create and edit service accounts, including managing their permissions.
* Edit Voximplant applications, users, and rules.
* Execute existing Voximplant scenarios.
* Exchange data with active Voximplant sessions.
* Purchase numbers, activate them, and bind them to applications.
* Check if numbers support SMS; if so, enable receiving and sending SMS.
* Manage SIP registrations.
* View call history or download it as CSV.
* Start scenarios and conferences.
* Control active Voximplant sessions.
* Automate calls.

For more information about management API, refer to the [API Reference](/api-reference/management-api).

## How to create a service account

To create a service account, follow these steps:

1. Log in to the [Voximplant control panel](https://manage.voximplant.com/).
2. Choose **Settings** from the main menu.
3. Choose **Service Accounts** in the side menu.

![Service accounts in the menu](/_fern-files/_img/cde39341a2a961e29e23849aeafc7c88da19b3ef33a4fe5d2e4bd26457e8b567.webp)

4. Then click **Add** in the upper right corner:

![Add a service account](/_fern-files/voximplant.docs.buildwithfern.com/ec8ff96415d26bb3e0df6275843ec6635662d6e96b5df58ac0d1d00618c89618/docs/assets/platform/voxengine/gettingstarted-basicconcepts-serviceaccounts-add.png)

5. This opens a **New service account** editor. Provide the necessary details, including roles and description where you are going to use this service account (optional):

![Specify roles](/_fern-files/voximplant.docs.buildwithfern.com/d3c7e761135422e155216edf930b7b5199121df7e4e6bd2650a33a9c2a6a388b/docs/assets/platform/voxengine/gettingstarted-basicconcepts-serviceaccounts-editor.png)

> **Note**
>
> You can change roles after creating the service account.

When you click **Generate key**, the editor will generate a JSON file and download it to your computer. This file contains your account ID, email, the generated key ID, and the private key used for [authorization with a JWT](/platform/management-api/authorization#json-web-token).

## Service account roles

Service account roles grant **additional permissions** to your service account. Without any role, only the following management API requests are available:

* [GetAccountInfo](/api-reference/management-api/reference/accounts/get-account-info)
* [GetResourcePrice](/api-reference/management-api/reference/accounts/get-resource-price)
* [GetSubscriptionPrice](/api-reference/management-api/reference/accounts/get-subscription-price)
* [GetActualPhoneNumberRegion](/api-reference/management-api/reference/phone-numbers/get-actual-phone-number-region)
* [GetRecordStorages](/api-reference/management-api/reference/record-storages/get-record-storages)
* [GetRoles](/api-reference/management-api/reference/role-system/get-roles)
* [SetSubUserInfo](/api-reference/management-api/reference/role-system/set-sub-user-info)
* [GetKeys](/api-reference/management-api/reference/role-system/get-keys)
* [CreateKey](/api-reference/management-api/reference/role-system/create-key)
* [UpdateKey](/api-reference/management-api/reference/role-system/update-key)
* [DeleteKey](/api-reference/management-api/reference/role-system/delete-key)
* [GetKeyRoles](/api-reference/management-api/reference/role-system/get-key-roles)
* [SetKeyRoles](/api-reference/management-api/reference/role-system/set-key-roles)
* [RemoveKeyRoles](/api-reference/management-api/reference/role-system/remove-key-roles)

To extend the number of available management API requests for a service account, add a role to it. You can add a role while creating a service account, or you can choose an existing account in the **Service accounts** list, click the three dots menu, and choose **Edit**:

![Edit an account](/_fern-files/_img/bba3337f542d0adc671e17f5865793c1cdf13115bffff4f60e38071a1aacfa50.webp)

This opens a service account editor. Click **Add role** and choose one or more roles, depending on the rights you need to provide to the service account:

![Add roles](/_fern-files/_img/a08502adddc693c2a256d99fadddd34d8a70c9e7cc29a255d707b56fef6cd37f.webp)

After you click **Save**, the service account's permissions are updated.