Authentication
The Raven Atlas API uses API Keys to authorize every request, you can view and manage your API key from your Raven Atlas dashboard
Be sure to keep your API keys safe and secure as they carry many privileges. Do not post or share your API keys in publicly accessible environments or client-side.
Your Raven Atlas API access exists in two modes, the Live
and Test
mode, and both modes has their respective Public Key
and Secret Key
. The Live mode keys are referenced to as RVPUB
and RVSEC
respectively, and the test mode is also referenced to as RVPUB_SEC
and RVSEC_TEST
respectively.
Currently, authentication is only possible VIA Bearer Token using the live_secret_key
, in the future we will introduce more authentication methods.
Authentication via Bearer Token
The way to authenticate via bearer token is by parsing your live_secret_key
as Authorization: Bearer <token>
header in your request.
axios.get('https://integrations.getravenbank.com/v1', {
headers: {
'Authorization': `Bearer ${live_secret_key}`
}
It's advisable to make your API calls via HTTPS, calls made via HTTP might fail, and calls made without an authorization token will also fail.
Updated 15 days ago