Developer FAQ
Every answer ships with a copy-pasteable TypeScript example, so you can move from reading to shipping without leaving the page.
Pass your API key as a Bearer token in the Authorization header. Generate scoped keys in Settings → API Keys and rotate them anytime — never check keys into version control.
const response = await fetch("https://api.example.com/v1/data", {
headers: {
Authorization: `Bearer ${process.env.API_KEY}`,
"Content-Type": "application/json",
},
})
const data = await response.json()