/api/v2/user/login
Creates a short-lived (1 hour) access token for use with the API. BitGo doesn't recommend using this endpoint for scripting. Instead, use the SDK or the web UI to create long-lived access tokens. However, short-lived access tokens are the only access tokens with the "user_manage" scope that enables you to programmatically add users to your enterprise using the Add User to Enterprise endpoint.
email
string <email>
required user@email.com
extensible
boolean false
otp
string required 123456
password
string required secret
access_token
string 9b72c68ef394f5146f0f3efc1feafb7a971752cb00e79fafcfd8c1d2db83639c
derivationPath
string encryptedECDHXprv
string encryptedToken
string expires_at
number required 1534201288
expires_in
number required noECDHKeychain
boolean scope
array[string] required ["crypto_compare","user_manage","openid","profile","wallet_create","wallet_manage_all","wallet_approve_all","wallet_spend_all","wallet_edit_all","wallet_view_all"]
token_type
string required grant_type
string required password
passkey
refresh_token
authorization_code
user
object required agreements
object required allowedCoins
array[string] required bitgoEmployee
boolean required currency
object required disableReset2FA
boolean required organizations
array[object] required featureFlags
array[string] required forceResetPassword
boolean required identity
object required otpDevices
array[object] required phone
object required timezone
string required apps
country
string USA
ecdhKeychain
isActive
boolean isFrozen
boolean freezeReason
string Frozen due to suspicious activity
lastLogin
string <date-time>
locale
string pgpKey
string rateLimits
referrer
object signupDomain
string state
string New York
sourceVerificationRequired
boolean sourceVerificationRequiredForReadOnlyAccess
boolean recoveryCodeSet
object createTime
string id
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
username
string <email>
required user@email.com
name
object required enterprises
array[object] required email
object required warning
string name
string context
object required error
string required requestId
string required name
string context
object required error
string required requestId
string required