Environments
Get current environment
GET
/v1/environments/me
Authorization*
Please ensure there is a space between ApiKey
and your Api key.
E.g ApiKey 18d2e625f05d80e
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.environmets.getCurrent();
{
data: data
}
Response
200 - application/json
data
object
import { Novu } from '@novu/node';
const novu = new Novu('<NOVU_API_KEY>');
await novu.environmets.getCurrent();
{
data: data
}