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

# Get Gamertag By ZBD ID

> Retrieve ZBD user ID from a Gamertag.

## Usage

This API endpoint is the reverse of the [Get User ID for ZBD Gamertag](/payments/api/gamertags/retrieve-userid) endpoint. Use this endpoint to get a given user's ZBD Gamertag.

<Tip>If you've got a User ID and you wish to find out that user's ZBD Gamertag, perhaps to then [send that user payments](/payments/api/gamertags/send), you may use this endpoint.</Tip>

## Configuration

### Path Parameters

<ParamField required path="id" type="string">
  User ID
</ParamField>

### Header Parameters

<ParamField required header="apikey" type="string">
  ZBD Project API Key
</ParamField>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "gamertag": "foxp2"
    },
    "message": "Fetched gamertag from uuid"
  }
  ```
</ResponseExample>
