Overview
The Petra Security API uses Bearer token authentication. Every request to the API must include a valid API key in the Authorization header.Getting Your API Key
The API is in private beta. Please contact us to get access.
Using Your API Key
Include your API key in theAuthorization header of every request:
Example with different languages
Troubleshooting
401 Unauthorized
This error means your API key is invalid or missing. Check that:- You’re including the 
Bearerprefix before your API key - You’re using the correct API key for your environment