/api/v2/user/session
Returns the session associated with access token passed via the 'Authorization' header.
session
object required bitgoAdminPermissions
array[string] client
string created
string <date-time>
enterprise
string expires
string <date-time>
extensionAddress
string id
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
internal
boolean ip
string <ipv4>
127.0.0.1
ipRestrict
array[string] isExtensible
boolean required label
string organizations
array[string] origin
string test.bitgo.com
token
string scope
array[string] ["crypto_compare","user_manage","openid","profile","wallet_create","wallet_manage_all","wallet_approve_all","wallet_spend_all","wallet_edit_all","wallet_view_all"]
unlock
object user
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
{ "session": { "bitgoAdminPermissions": [ "string" ], "client": "string", "created": "2019-08-24T14:15:22Z", "enterprise": "string", "expires": "2019-08-24T14:15:22Z", "extensionAddress": "string", "id": "59cd72485007a239fb00282ed480da1f", "internal": true, "ip": "127.0.0.1", "ipRestrict": [ "string" ], "isExtensible": true, "label": "string", "organizations": [ "string" ], "origin": "test.bitgo.com", "token": "string", "scope": [ "crypto_compare", "user_manage", "openid", "profile", "wallet_create", "wallet_manage_all", "wallet_approve_all", "wallet_spend_all", "wallet_edit_all", "wallet_view_all" ], "unlock": { "spendingLimits": { "property1": { "txCount": 0, "txValue": 0, "txValueLimit": 0 }, "property2": { "txCount": 0, "txValue": 0, "txValueLimit": 0 } }, "expires": "2019-08-24T14:15:22Z", "time": "2019-08-24T14:15:22Z", "txCount": 0, "txValue": 0, "txValueLimit": 0 }, "user": "59cd72485007a239fb00282ed480da1f" } }
name
string context
object required error
string required requestId
string required 1 2 3 4 5 6
{ "name": "string", "context": {}, "error": "string", "requestId": "string" }