GET
Get session
Returns the session associated with access token passed via the Authorization header.
Responses
200
OK
Response Body
object
-
sessionobject requiredsession object
-
bitgoAdminPermissionsarray of strings -
clientstringThe client associated with the access token -
createdstring date-timeThe creation date of the access token -
enterprisestringThe enterprise associated with the access token -
expiresstring date-timeThe expiration date of the access token -
extensionAddressstringThe extension address associated with the access token -
idstring required -
internalboolean -
ipstring ipv4IP address of the client that requested this access token -
ipRestrictarray of strings -
isExtensibleboolean requiredIndicates if the access token is extensible -
labelstringThe label associated with the access token -
organizationsarray of strings -
originstringBitGo environment that issued this token -
tokenstringThe token value -
scopearray of strings -
unlockobjectThe unlock object, returned if this session is currently unlockedunlock object
-
spendingLimitsmap of objectsspendingLimits object
-
<key>objectvalue object
-
txCountnumberThe transaction count limit for the coin -
txValuenumberThe transaction value limit for the coin -
txValueLimitnumberThe maximum transaction value limit for the coin
-
-
-
expiresstring date-time -
timestring date-time -
txCountnumber -
txValuenumber -
txValueLimitnumber
-
-
userstring
-
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id