> ## Documentation Index
> Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create API Keys

> Generate API credentials in the UQPAY dashboard to authenticate your API requests.

Every API request to UQPAY requires two credentials: a **Client ID** (public identifier) and an **API Key** (secret). You generate both from the dashboard.

<Steps>
  <Step title="Open API key settings">
    Sign in to the dashboard, click your profile picture in the top-right corner, and select **Settings**. Then navigate to **Developer > API Keys**.

    <img src="https://mintcdn.com/uqpay-ecc4f4d8/LSVZGfPa5IJvbfLG/images/account-center/create-api-keys-1.png?fit=max&auto=format&n=LSVZGfPa5IJvbfLG&q=85&s=5207699ee776e0dfbe9a4a054e503bdd" alt="API Keys settings page" width="1920" height="968" data-path="images/account-center/create-api-keys-1.png" />
  </Step>

  <Step title="Create a new API key">
    Click **Create API Keys** in the top-right corner of the API Keys page.

    <img src="https://mintcdn.com/uqpay-ecc4f4d8/LSVZGfPa5IJvbfLG/images/account-center/create-api-keys-image.png?fit=max&auto=format&n=LSVZGfPa5IJvbfLG&q=85&s=8c5756b16c89a70a1e036070d2dd3223" alt="Create API Keys button" width="1721" height="1234" data-path="images/account-center/create-api-keys-image.png" />

    <Tip>
      You can configure an IP allowlist during creation to restrict which IP addresses can use this key. You can also edit the allowlist later.
    </Tip>
  </Step>

  <Step title="Copy and store your API key">
    Your API key is displayed on screen after creation.

    <img src="https://mintcdn.com/uqpay-ecc4f4d8/LSVZGfPa5IJvbfLG/images/account-center/create-api-keys-3.png?fit=max&auto=format&n=LSVZGfPa5IJvbfLG&q=85&s=1ed4d2214141e98856dffc733f21dd0b" alt="API key displayed" width="1352" height="755" data-path="images/account-center/create-api-keys-3.png" />

    <Warning>
      The API key is shown **only once**. Copy it immediately and store it in a secure location. If you lose it, you will need to create a new key.
    </Warning>
  </Step>

  <Step title="Find your Client ID">
    Your Client ID is always visible on the API Keys page — you can view or copy it at any time.

    <img src="https://mintcdn.com/uqpay-ecc4f4d8/LSVZGfPa5IJvbfLG/images/account-center/create-api-keys-4.png?fit=max&auto=format&n=LSVZGfPa5IJvbfLG&q=85&s=43234d6511233663572380241e0c32be" alt="Client ID on API Keys page" width="1352" height="755" data-path="images/account-center/create-api-keys-4.png" />
  </Step>
</Steps>

<Note>
  Only the master account can generate API keys. To call APIs on behalf of a sub-account, use the `x-on-behalf-of` header — see [Connected Accounts](/docs/account-center/v1.6/guide/connected-accounts).
</Note>

## Next step

You now have your Client ID and API key. Head to the [Quickstart](/docs/account-center/v1.6/guide/quickstart) to make your first API call.
