Authentication
To access the various endpoints within the Flick API, it's essential to authenticate your requests. In this guide, we will delve into the intricacies of the authentication process.
As of now, Flick provides a single authentication method for your API requests, which is OAuth2
with a token.
OAuth2 with Bearer token
The Flick API recommends utilizing OAuth2 for authentication. To establish a connection with OAuth2, you'll require an access token, conveniently located in your Flick dashboard under Integrations. Below are the steps for adding this token to the request header using cURL:
curl https://sandbox-api.flick.network/endpoint \
-H "Authorization: Bearer {token}"
Security
We highly recommend safeguarding your authentication token in a secure manner, as it serves as the key to authenticate your account access. In the event of any concerns or suspicions that your token may have been compromised, please don't hesitate to reach out to us. We can promptly invalidate the authentication token for your account's security.