Generating an API Key
To use the NeetoForm APIs, you must first generate an API key. Learn how to generate your API key here.Making Authenticated API Requests
To authenticate your API requests, include a valid API key in the X-Api-Key header.Header Format
Include your API key in theX-Api-Key
header of every request:
Generate separate API keys for different workspaces. An API key generated in
one workspace will not work in another.
Security Best Practices
Keep Keys Secret
Never expose API keys in client-side code, public repositories, or logs
Use Environment Variables
Store API keys in environment variables or secure configuration files
Rotate Keys Regularly
Periodically generate new API keys and revoke old ones
API keys provide access to sensitive data. Treat them like passwords and
follow security best practices.
Environment Variables
Store your API key as an environment variable:Error Responses
401 Unauthorized
If your API key is missing, invalid, or expired, you’ll receive a 401 error:Common Authentication Issues
Invalid API Key
Invalid API Key
Problem: API key is missing or invalid
Solution: Verify your API key is correct and hasn’t been revoked/expired
Solution: Verify your API key is correct and hasn’t been revoked/expired
Incorrect workspace subdomain
Incorrect workspace subdomain
Problem: Subdomain is left as the default value (spinkart) or incorrect
Solution: Verify your subdomain name is properly added in the request URL
Solution: Verify your subdomain name is properly added in the request URL
Rate Limiting
API requests are subject to rate limiting to ensure fair use. If you exceed the rate limit, you’ll receive a 429 response. If you encounter this error try again after some time.Next Steps
Make Your First Request
Now that you understand authentication, try making your first API request in
our quickstart guide.