API
Get started
1
Create an API key
From your Sentinel account, click on your user avatar in top right corner. Choose Settings and navigate to API Keys.
Then click Generate API Key.
2
Copy your key
Click on the area with the generated key to copy it to the clipboard.
You can always come back and copy your key again.
3
Make a test request
Finally, make a test request to the API using your new key.
curl --request GET \
--url https://www.chat-flow.app/api/sentinel/v1/status \
--header 'accept: application/json' \
--header 'Authorization: Bearer [YOUR_API_KEY]'If everything is set up correctly, you should receive the following response:
Response
{
"status": "active",
"api_key": {
"name": "Production Key"
},
"subscription": {
"plan": "shield",
"status": "active"
}
}Next steps
- -Learn how to integrate with any auth provider (Supabase, Auth0, Firebase, etc.)
- -Check the API Reference for all available endpoints
- -Manage your blacklists and whitelists for custom rules