> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs-v3.openfx.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and manage API keys

> Create, scope, restrict, disable, and revoke API keys for v1 access from the OpenFX dashboard.

<Warning>
  **v1 sunsets December 31, 2026.** Migrate to v2 — see the [migration guide](/v1/migration-v1-to-v2).
</Warning>

## Permissions

API keys can be configured with specific access levels to suit user requirements:

* **View** — Read-only access; cannot request trades or quotes.
* **Trade** — Enables live trade execution, trade history access, and balance inquiries.

## Creating an API key

To generate an API key, follow these steps in the dashboard.

<Steps>
  <Step title="Open API Keys">
    Navigate to the **API Keys** section of the dashboard.
  </Step>

  <Step title="Create the key">
    Click **Create API Key** and assign the required access scopes.
  </Step>

  <Step title="Configure parameters">
    Set the following parameters:

    * **Nickname** — A unique identifier for the API key.
    * **Scopes** — Defines the level of API access:
      * **View** — Read-only access to account data.
      * **Trade** — Enables trading and order management.
    * **Allowed IP Addresses** — Restricts API key usage to specified IPs (leave blank for unrestricted access).
  </Step>
</Steps>

## Revoke an API key

* To revoke an API key, go to the **API Keys** section of the OpenFX account (GUI) and select **Delete** next to the key. Once revoked, the key and any associated JWTs are rendered invalid.
* To temporarily disable a key, toggle the **Status** button next to the key off from the **API Keys** section. This prevents access without revocation. The key can be reactivated at any time by toggling **Status** back on.
