You are on page 1of 1

Finazilla uses JWT-token authorizarion.

First you have to fetch access


token through our login endpoint

curl --location --request POST 'https://www.finazilla.app/api/token' \


--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=USERNAME' \
--data-urlencode 'password=PASSWORD' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'resource=https://www.finazilla.app/' \
--data-urlencode 'scope=offline_access profile email'

Note that you have to replace USERNAME and PASSWORD with your actual
credentials. Username is your email.
Then after you have receaved your access token, you can fetch report data
from report that you have created inside Finazilla. This is done through
generic report data endpoint.

curl --location --request GET


'https://www.finazilla.app/api/reportdata/v2/REPORT_ID' \
--header 'Authorization: Bearer ACCESS_TOKEN'

Note that you have to replace ACCESS_TOKEN with token fetched earlier and
REPORT_ID with report you wish to fetch. False at the end of the URL
means that you want always get up to date data, instead of cached.
Additional endpoint and definitions of result body can be found from our
swagger documentation XXXXXXXXXX

You might also like