Get Wirex User token

Retrieve access token for a specific user that can be used to interact with all other APIs on his behalf. Token-based modes identify the user through headers and send an empty body. Wallet signature mode sends no Authorization header: the body carries the login message signature, X-Company-Id names the company the account belongs to, and X-Chain-Id the chain. A successful login records the caller's IP as the user's last login IP, which GET /api/v2/user returns as last_login_ip. A login with a partner token records nothing, and a failed record never fails the login. Please see Authorization section

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Wallet signature authorization. Empty for token-based modes

string

Signature of the login message I, owner of account {owner_address} confirm that I request access token for company {X-Company-Id} on chain {X-Chain-Id} at {nonce} done using the private key of the account owner. Headers are embedded exactly as sent. Wallet signature mode only

integer

Nonce that was used while forming the message. This should be the unix timestamp of the moment when the message was formed. Wallet signature mode only

string

Address of the account owner requesting the token. Embedded in the signed message exactly as sent. Wallet signature mode only

string

Hex-encoded public key of the signing wallet. Required for Ripple/XRPL; ignored otherwise

Headers
string

Identifier of the company the account belongs to, embedded in the signed message. Wallet signature mode only

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json