Upland User Information
Endpoints to retrieve Upland Users information.
API Definitions
You must provide a Code to your users generated across the endpoint /auth/opt/init. When Upland User grants access for the developer App, a webhook will be sent with a valid access token.
User Id
2da598ba-0abb-44f9-bb30-86416af16a20Eos Id
1df22sd3Username
any_usernameNetworth
104927.65Level
ProPossible values: Avatar Url
https://any-url.upland.meInitial city
San FranciscoCurrent city
San FranciscoIndicates if the user is in jail
falseGET /user/profile HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "2da598ba-0abb-44f9-bb30-86416af16a20",
"eosId": "1df22sd3",
"username": "any_username",
"networth": 104927.65,
"level": "Pro",
"avatarUrl": "https://any-url.upland.me",
"initialCity": "San Francisco",
"currentCity": "San Francisco",
"isInJail": false
}You must provide a Code to your users generated across the endpoint /auth/opt/init. When Upland User grants access for the developer App, a webhook will be sent with a valid access token.
Current page
1Total returned per page
10Total of results
2GET /user/assets/nfts?currentPage=1&pageSize=1 HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"currentPage": 1,
"pageSize": 10,
"totalResults": 2,
"results": [
{
"id": 1234,
"category": "blkexplorer",
"name": "townhouse",
"rarityLevel": "townhouse",
"thumbnail": "https://any-url.upland.me",
"mintNumber": 0
}
]
}You must provide a Code to your users generated across the endpoint /auth/opt/init. When Upland User grants access for the developer App, a webhook will be sent with a valid access token.
Amount of available UPX
130646Amount of available SPARKs
2.5Amount of staked SPARKs
1.2Amount of available Sends
0GET /user/balances HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"availableUpx": 130646,
"availableSpark": 2.5,
"stakedSpark": 1.2,
"availableSends": 0
}You must provide a Code to your users generated across the endpoint /auth/opt/init. When Upland User grants access for the developer App, a webhook will be sent with a valid access token.
Current page
1Total returned per page
10Total of results
2GET /user/assets/properties?currentPage=1&pageSize=1 HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"currentPage": 1,
"pageSize": 10,
"totalResults": 2,
"results": [
{
"id": 55334346,
"address": "1467 28TH AVE",
"city": "San Francisco",
"neighborhood": {
"id": 798785521654878,
"name": "ALAMO SQUARE"
}
}
]
}Last updated

