Generate New API Token
This guide explains what an API token is, why you need one, and how to create one.
Learning outcomes
Learn how an API token is used.
What you need
MAFINT API tokens
MAFINT API tokens are used to authenticate requests to MAFINT APIs. When calling an MAFINT API endpoint, you need to supply a valid API token in the HTTP Authorization header, with a valid token specified as the header value. You need to prefix the value with the JWT identifier, which specifies the proprietary authentication scheme that MAFINT uses. For example:
JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9 ... XmzAoTG3K-zrg
*Note: the generated token will never be expired.
Privilege level
API tokens required user to sign in to their own MAF account to create them.
Create the token
To create an API token, follow these steps:
Sign in to http://dev.portal.mafint.com/ as MAF user .
Click ‘My Profile' under 'Settings’ from the navigation sidebar on the left.
In My Profile page, select the API Token tab.
Click Generate New API Token.
The new token will be generated, the token can be copied by clicking the copy icon for further use.