> ## Documentation Index
> Fetch the complete documentation index at: https://developers.uqpay.com/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-0838527a/ynKaMDHkJfeg6L8y/images/account-center/create-api-keys-1.png?fit=max&auto=format&n=ynKaMDHkJfeg6L8y&q=85&s=c10b93fe1356c7181f9e0ac9eab70652" 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-0838527a/ynKaMDHkJfeg6L8y/images/account-center/create-api-keys-image.png?fit=max&auto=format&n=ynKaMDHkJfeg6L8y&q=85&s=bbf5b45b128d521bfa23e38153a6a746" 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-0838527a/ynKaMDHkJfeg6L8y/images/account-center/create-api-keys-3.png?fit=max&auto=format&n=ynKaMDHkJfeg6L8y&q=85&s=46fbec52a9aad5f832e54463b4485671" 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-0838527a/ynKaMDHkJfeg6L8y/images/account-center/create-api-keys-4.png?fit=max&auto=format&n=ynKaMDHkJfeg6L8y&q=85&s=493eded6cd034b455902a245920bec3c" 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](/account-center/v1.6/guide/connected-accounts).
</Note>

## Next step

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