Skip to main content

Overview

Below is a brief overview of how to make API calls:
  1. Send your IP address to our support team via email (support@mansa.xyz).
  2. Create the JWT token
  3. Generate the bodyhash by taking the JWT token and hashing it with SHA256 using the API Secret
  4. Sign JWTs with the Private Key
  5. Make the API call

Example Implementation

Here’s a complete example of how to implement the authentication process and make your first API call:
This is a simplified example. In production, you’ll need to properly sign the JWT with your private key and handle all error cases.