Request Authentication
How to authenticate your API requests
Last updated
axios({
"method": "GET",
"url": "http://api.radiantdrift.com/auth/access-token",
"headers": {
"Authorization": "RadiantDriftAuth [YOUR_ACCOUNT_ID]:[YOUR_API_KEY]"
}
})curl "https://api.radiantdrift.com/auth/access-token" \
-H 'Authorization: RadiantDriftAuth [YOUR_ACCOUNT_ID]:[YOUR_API_KEY]' // The token is returned as a field in the response body
{
"success": true,
"token": "[YOUR_ACCESS_TOKEN]"
}axios({
"method": "GET",
"url": "https://api.radiantdrift.com/[API_ENDPOINT]",
"headers": {
"Authorization": "RadiantDriftAuth [YOUR_ACCESS_TOKEN]"
}
})curl "https://api.radiantdrift.com/[API_ENDPOINT]" \
-H 'Authorization: RadiantDriftAuth [YOUR_ACCESS_TOKEN]'// Response varies based on the selected end point - see belowAuthorization: RadiantDriftAuth [YOUR_ACCESS_TOKEN]