API authentication
NovaDocs exposes a REST API under /api/v1.
Interactive overview: /api-docs
Create an API key
- Log in to admin
- Open API keys
- Create a key — copy it immediately (it is shown once)
Keys look like: nd_...
Send the key
Add this header to every request:
httpAuthorization: Bearer nd_your_key_here
Example:
bashcurl -H "Authorization: Bearer nd_your_key_here" \ https://your-domain.com/api/v1/projects
Browser session
If you are already logged into admin in the same browser, some requests work with the session cookie. For scripts and servers, always use an API key.
Security tips
- Never commit keys to Git
- Revoke keys you no longer need
- Use HTTPS in production
