It’s important to note that our API and backend SDK are intended for use
exclusively in server-side applications. Attempting to use them in a
client-side application will result in Cross-Origin Resource Sharing (CORS)
errors. This restriction ensures the security and integrity of our services.
Authentication
Authentication for the Novu API involves the use of an API Key, which is a secure credential that is tied to your Novu account. This key should be included in the header of the request in the Authorization field as a string prefixed with ‘ApiKey ’.<NOVU_API_KEY>
with your actual API Key, available in the API Key section of the Novu Dashboard.
It is advised not to hardcode your credentials in a file in production
environments. Use environment variables instead.
API Endpoints
Novu provides a multitude of API endpoints that enable a variety of functionalities. the base URL for the Novu API ishttps://api.novu.co/v1
.
We offer two API options: the US API and the EU API. By default, our API documentation refers to the US API, which can be accessed at: https://api.novu.co/v1.If you require the EU version, you can access it here: https://eu.api.novu.co/v1.
https://api.novu.co/v1/tenants/{identifier}
.