Skip to main content
GET
/
v2
/
end-users
/
{userId}
Get an end user
curl --request GET \
  --url https://api.cdp.coinbase.com/platform/v2/end-users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "userId": "e051beeb-7163-4527-a5b6-35e301529ff2",
  "authenticationMethods": [
    {
      "type": "email",
      "email": "user@example.com"
    },
    {
      "type": "sms",
      "phoneNumber": "+12055555555"
    },
    {
      "type": "jwt",
      "sub": "e051beeb-7163-4527-a5b6-35e301529ff2",
      "kid": "NjVBRjY5MDlCMUIwNzU4RTA2QzZFMDQ4QzQ2MDAyQjVDNjk1RTM2Qg"
    }
  ],
  "evmAccounts": [
    "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  ],
  "evmSmartAccounts": [
    "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  ],
  "solanaAccounts": [
    "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
  ],
  "createdAt": "2025-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Path Parameters

userId
string
required

The ID of the end user to get.

Response

Successfully got end user.

Information about the end user.

userId
string
required

A stable, unique identifier for the end user. The userId must be unique across all end users in the developer's CDP Project. It must be between 1 and 100 characters long and can only contain alphanumeric characters and hyphens.

Example:

"e051beeb-7163-4527-a5b6-35e301529ff2"

authenticationMethods
(EmailAuthentication · object | SmsAuthentication · object | DeveloperJWTAuthentication · object)[]
required

The list of valid authentication methods linked to the end user.

  • EmailAuthentication
  • SmsAuthentication
  • DeveloperJWTAuthentication
Example:
[
{
"type": "email",
"email": "user@example.com"
},
{
"type": "sms",
"phoneNumber": "+12055555555"
},
{
"type": "jwt",
"sub": "e051beeb-7163-4527-a5b6-35e301529ff2",
"kid": "NjVBRjY5MDlCMUIwNzU4RTA2QzZFMDQ4QzQ2MDAyQjVDNjk1RTM2Qg"
}
]
evmAccounts
string[]
required

The list of EVM accounts associated with the end user. Currently, only one EVM account is supported per end user.

The address of the EVM account associated with the end user.

Example:
[
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
]
evmSmartAccounts
string[]
required

The list of EVM smart accounts associated with the end user. Currently, only one EVM smart account is supported per end user.

The address of the EVM smart account associated with the end user.

Example:
[
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
]
solanaAccounts
string[]
required

The list of Solana accounts associated with the end user. Currently, only one Solana account is supported per end user.

The base58 encoded address of the Solana account associated with the end user.

Example:
[
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
]
createdAt
string<date-time>
required

The date and time when the end user was created, in ISO 8601 format.

Example:

"2025-01-15T10:30:00Z"

I