// Basic Authorization.// Use your credentials encoded in base64 format.Authorization:Basic<YourCredentials>
Learn how to get your WealthTechs Credentials by clicking here.
Parameters
Type
Format
Required
No Parameters
Responses
Code
Type
200
Success
400
Bad Request
401
Unauthorized
Example Code
// JavaScript example using fetch() API// Use the btoa() function to encode your credentials in base64 format.letcredentials=btoa('yourname@yourcompany.com:RandomPassword123+');// Make the request and log the responsefetch("https://api.wealthtechs.com/v1/Tokens",{headers:newHeaders({"Authorization":"Basic "+credentials,}),}).then(response=>response.json()).then(data=>console.log(data));