Authorization to Mapflow API
To access from external applications such as plugin for QGIS you need to get API token. Users can register and obtain token at https://app.mapflow.ai/account/api. Token must be passed in the Basic Auth parameters like in the example:
curl --location --request GET 'https://api.mapflow.ai/rest/projects/default' \
--header 'Authorization: Basic <YOUR TOKEN>'
Note
Your token is generated by request and composed of <Email: API Token>
You can decode it with base64 decoder to use in Basic Auth form
Make sure you save the token, otherwise you will need to reissue it.
Authorization in a Web application and obtaining an API token
Open the web application Mapflow. Register a new account or sign in using your Google account.
Go to user profile settings to generate a new API token.
