Secure your API requests using private and public API keys
We provide two types of API keys for different purposes:
Your API key provides access to:
Keep your API key secure and use environment variables when possible.
To get started with our API:
Include the appropriate API key in the Authorization header based on the endpoint:
Verify faces using your API key:
curl -X POST https://api.example.com/api/v2/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "reference=@path/to/reference.jpg" \
-F "selfie=@path/to/selfie.jpg"
Manage your API keys through the Dashboard: