> ## Documentation Index
> Fetch the complete documentation index at: https://onextel-09023014.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API keys

> Generate, view, edit, and delete API keys for the International SMS API in the OneXtel International SMS portal.

The **API** menu creates the keys your applications use to send SMS through the [International SMS API](https://onextel-09023014.mintlify.site/api-reference/sms-international/overview.md). Pass the key as the `key` field in the request body.

## Generate an API key

**1. Open the API tab**

In the left pane, click **API**, then click the **API** tab.

**2. Generate**

Click **+Generate API**.

**3. Set up the key**

In the pop-up, select the **Account Type**. Select **Scrub DND** to exclude DND recipients from messages sent with this key. Enter a **Description**.

**4. Submit**

Click **Submit**. The portal generates the API key.

![Select Account Type of API pop-up with Account Type, Scrub DND checkbox, Description and the Submit button](https://mintcdn.com/onextel-09023014/uNTuPF6hTuaLW6FQ/images/sms-international/generate-api.png?fit=max\&auto=format\&n=uNTuPF6hTuaLW6FQ\&q=85\&s=adac677e742edf098e54c1c05d5eb182)

Generate API

## View API keys

In the left pane, click **API**, click the **API** tab, then click **Show API**. The portal lists your keys with their account type, description, and status.

![API list with Key, Account Type, Password, Description, Match Template, Status and Action columns](https://mintcdn.com/onextel-09023014/uNTuPF6hTuaLW6FQ/images/sms-international/api-list.jpeg?fit=max\&auto=format\&n=uNTuPF6hTuaLW6FQ\&q=85\&s=af213c3a3da659535fadd9899b0ffe9a)

API key list

## Edit an API key

**1. Open the key list**

In the left pane, click **API**, then click **Show API**.

**2. Open the key**

In the **Action** column, click the ellipsis icon.

**3. Save your changes**

Change **Scrub DND** or the **Description**, then click **Submit**. The portal updates the key.

> [!NOTE]
>
> You can't change the **Account Type** of an existing key. Generate a new key instead.

![Edit API Key Details pop-up with Account Type, Scrub DND, Description and the Submit button](https://mintcdn.com/onextel-09023014/uNTuPF6hTuaLW6FQ/images/sms-international/edit-api.png?fit=max\&auto=format\&n=uNTuPF6hTuaLW6FQ\&q=85\&s=559cc482540635e7ed52f0d276581f03)

Edit API Key Details

## Delete an API key

**1. Open the key list**

In the left pane, click **API**, then click **Show API**.

**2. Delete**

In the **Action** column, click the **Delete** icon.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.