Prerequisites

Before you start following your guide you need prepare this list in advance

Bearer Token to be provided (e.g. in case of Exante)



Generate Auth Token

Open a terminal window.

  1. Type this command, replacing YOUR_API_KEY and YOUR_SECRET_KEY with your real keys:
    echo -n "YOUR_API_KEY:YOUR_SECRET_KEY" | base64
  2. Press Enter.
  3. The terminal will show a long string of letters and numbers. This is your encoded token.
  4. Copy that string.
  5. When you call your API, add this header (showing your copied string in place of ENCODED_STRING):
    Authorization: Basic ENCODED_STRING
  6. If your API really needs a Bearer header instead, use:
    Authorization: Bearer ENCODED_STRING

That’s it. Now your API call will send the correct token.


Revision #8
Created 3 June 2025 15:41:14 by Sergei Zhitenev
Updated 4 June 2025 09:27:05 by Sergei Zhitenev