Forms API uses API-key authentication on protected endpoints:
How to get an API key
- Sign in to the app.
- Go to Settings.
- Open the API Keys section.
- Click Generate to create a token.
- Copy and store it securely (the full key is only shown once).
API key authentication
Use API keys for server-to-server integrations and backend jobs.
curl -X POST "https://api.sylvian.ai/parse" \
-H "X-API-Key: forms_sk_your_key" \
-F "[email protected]"
Choosing between auth modes
- Use API keys when your backend calls Forms API.
- Do not expose API keys in frontend code.
Never expose API keys in browser code, public repos, screenshots, logs, or client-side analytics.
Treat API keys like passwords. Anyone with the key can call your API as your account.
Common auth failures
401 Missing or invalid authentication: no valid API key was provided.
401: API key format is wrong, inactive, or unknown.