GET https://api.cryptohopper.com/v1/user/id

Returns the ID of the user who authorized the app.

Needs a valid access token, but no specific scope.

Example request

curl "https://api.cryptohopper.com/v1/user/id" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": "123456"
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.