API Reference
Authentication
Authenticate requests using your API key
The Nomod API uses an API Key Authentication Scheme. To use the API, you must generate an API secret key through the Nomod app. This can be easily done in the settings of the Nomod app, where you can generate the API key.
In the app settings, you can also revoke your API key to block access to the Nomod API when needed.
Currently, we support one key per business per integration. Once you have generated a key, you will need to include it with every API request for successful processing. Otherwise, an error with a status code of 401 will be returned.
API Key Scheme
| Item | Value |
|---|---|
| Security Scheme Type | API Key |
| Header Parameter Name | X-API-KEY |
| Header Parameter Example | sk_test_LKhVdQrc.EqkGuzuCQ0qQvgwdrnu43TtMDwTlppxU |
Authentication Errors
Error: Authentication credentials were not provided.
Solution: Double-check your API key for any typos. If you're copying it from a source, ensure there are no leading or trailing whitespaces. If the error persists, revoke the API key and generate a new one.