π§API Tokens
Last updated
Last updated
A list of users who have claimed reward in a campaign
A list of users who have won rewards in a campaign
A list of all participants in a campaign
Details for a particular user given their userID
Returns the enterprise leaderboard.
Details for your enterprise
Details of your campaign
A list of all campaigns created by your enterprise
You will first have to generate an Auth Token from the intract dashboard.
Remember to copy the token key that is displayed because you will not be able to see it again.
Then you have to just import your cURL by your prefered method and call it.
To access our APIs, you need to include the generated token in the request headers as a Bearer token.
Example:
If your generated token is xxxxxxxx
, you should set it as follows:
Header:
Make sure to replace xxxxxxxx
with your actual token.
Sample Request:
Hereβs an example of how to include the Bearer token in a request using curl
:
This header is required for each API request to authenticate your access. The API will respond with an authentication error if the token is missing or invalid.
If you do not know how to do all of this semi-techy stuff you can watch this video. Congratulations! Youβve successfully fetched the data you need.