Authorization

Get Wirex User token

Changed on

Retrieve access token for a specific user that can be used to interact with all other APIs on his behalf

post/api/v1/user/authorize

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v1/user/authorize
  • Auth
    • API key in header X-Chain-Id and API key in header Authorization and API key in header Identity
    • or API key in header X-Chain-Id and API key in header X-User-Wallet and API key in header Authorization

Request body */*

RequestEmptyRequest required

Response

OK

access_tokenstring required

Token Signed JWT token that should be used to access most of the API endpoints

expires_atinteger required

Unix timestamp of the time when the token would expire

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJLaXdpIjoiV293LCBkaWRuJ3QgdGhpbmsgc29tZW9uZSB3b3VsZCBhY3R1YWxseSBkZWNvZGUgdGhpcy4gUHJvcHMgZm9yIGN1cmlvc2l0eSBtYXRlIiwiaWF0IjoxNzQ0MDAzNjE5fQ.9dtAkgB2NCP5xnAF0xhfqazoL5UOBBw5xji0r-PzGEU",
  "expires_at": 1744007319
}

Changes