Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Current »

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.

  • Find out when a token expires and what happens when it expires.

  • Find out how API tokens are deactivated.

What you need

http://dev.portal.mafint.com/

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:

  1. Sign in to http://dev.portal.mafint.com/ as MAF user .

  2. Click ‘My Profile' under 'Settings’ from the navigation sidebar on the left. 

  1. In My Profile page, select the API Token tab.

  1. Click Generate New API Token.

  2. The new token will be generated, the token can be copied by clicking the copy icon for further use.

  • No labels