Skip to main content

Generating an API Key

To use the NeetoCRM APIs, you must first generate an API key:
  1. Go to the Admin panel and click API keys.
  2. Click Add API key. The Add new API key pane opens.
  3. Enter a Name for the key.
  4. Under Type, choose General. The Zapier type is only for the Zapier integration.
  5. Pick an Expiry date, or check Never expires.
  6. Click Save changes.
  7. Copy the key from the API keys list using the copy icon. The key stays in the list, so you can copy it again later.
Learn more about API keys 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 the X-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.
API keys provide access to sensitive data. Treat them like passwords and follow security best practices.

Error Responses

401 Unauthorized

If your API key is missing, invalid, or expired, you’ll receive a 401 error:

Common Authentication Issues

Problem: API key is missing or invalid.
Solution: Verify your API key is correct and hasn’t been revoked/expired.
Problem: Subdomain is left as the default value (spinkart) or incorrect.
Solution: Verify your subdomain name is properly added in the request URL.