---
title: How to Obtain Your SPanel API Token
description: "Do the following to obtain your SPanel API token: 1. Login to your server's admin area as an administrator. ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-admin.jpg) 2. Under the Server Management tab, click on Manage API Tokens. ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-admin-manage-tokens-menu.jpg) 3. On the manage tokens page, click on…"
url: "https://wpemailmanager.com/docs/how-to-obtain-your-spanel-api-token/"
updated: "2022-09-30"
category: Server Configuration / SPanel
---

# How to Obtain Your SPanel API Token

Do the following to obtain your SPanel API token:

1. Login to your server's admin area as an administrator.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-admin.jpg)
2. Under the Server Management tab, click on Manage API Tokens.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-admin-manage-tokens-menu.jpg)
3. On the manage tokens page, click on Create API Token.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-manage-tokens.jpg)
4. On the Create Token Popup, select User API token type, give it a name and select the account that will have this API Token.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-manage-create-user-token.jpg)
   Ensure that the following user token privileges are selected:
   - List Account's Domains *domain/listdomains*
   - Add a New Domain *domain/adddomain*
   - Remove an Existing Domain *domain/removedomain*
   - List a Domain's DNS Zone *domain/listdnszone*
   - Add a New DNS Zone Record *domain/adddnsrecord*
   - Edit/Delete a DNS Zone Record *domain/editdnszone*
   - Create a New Email Account *email/createemailaccount*
   - Remove an Existing Email Account *email/removeemailaccount*
   - Change Email Account's Password *email/emailaccountpassword*
   - Change Email Account's Disk Quota *email/changeemailquota*
5. Save the token in a safe place as it won't be shown again.
   ![](https://wpemailmanager.com/wp-content/uploads/2022/09/spanel-api-token.jpg)
