Quickstart
Make your first authenticated request to the Flashpoint.AI API in under five minutes.
1. Get an API key
Sign in to the dashboard and create a key under Settings → API Keys. Copy it once — you won't be able to view it again.
2. Set your environment
export FLASHPOINT_API_KEY="fp_live_..."
3. Make a request
curl https://api.flashpoint.ai/v1/datasets \
-H "Authorization: Bearer $FLASHPOINT_API_KEY"
You should receive a 200 OK with a JSON list of datasets your key has access to.
4. Handle the response
{
"data": [
{
"id": "ds_a1b2c3",
"name": "Example dataset",
"created_at": "2026-04-15T12:00:00Z"
}
],
"has_more": false
}
Next steps
- Learn how scopes work in Authentication
- Browse every endpoint in the API Reference
- Map error codes to recovery in Errors