Get session

get/api/v2/user/session

Returns the session associated with access token passed via the "Authorization" header.

200 Response

session object
created string <date-time>required
expires string <date-time>required
id string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
ip string <ipv4>
IP address of the client that requested this access token
Example: 127.0.0.1
ipRestrict array[string]
IP addresses of clients that are allowed to use this token
origin string required
BitGo environment that issued this token
Example: test.bitgo.com
scope array[string] required
Session permissions
Example: ["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
The Unlock object, returned if this session is currently unlocked.
user string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$