AmDital supports API key authentication and OAuth 2.0 flows.
Pass your API key in the Authorization header:
curl https://api.amdital.com/v1/workspaces \
-H "Authorization: Bearer amdital_sk_live_..."
# Or use the X-API-Key header
curl https://api.amdital.com/v1/workspaces \
-H "X-API-Key: amdital_sk_live_..."When calling from the web app, pass the Supabase session JWT:
const { data: { session } } = await supabase.auth.getSession()
const response = await fetch('https://api.amdital.com/v1/workspaces', {
headers: {
Authorization: `Bearer ${session?.access_token}`
}
})| Plan | Rate limit |
|---|---|
| Free | 100 req/min |
| Starter | 1,000 req/min |
| Pro | 10,000 req/min |
| Enterprise | Unlimited |