import { Novu } from "@novu/node";const novu = new Novu("<NOVU_SECRET_KEY>");const response = await novu.subscribers.get("subscriberId");console.log(response.data);
Get subscriber by your internal id used to identify the subscriber
GET
/
v1
/
subscribers
/
{subscriberId}
Copy
Ask AI
import { Novu } from "@novu/node";const novu = new Novu("<NOVU_SECRET_KEY>");const response = await novu.subscribers.get("subscriberId");console.log(response.data);
Enter your API key in the Authorization field like the example shown below:E.g ApiKey 18d2e625f05d80e
Copy
Ask AI
import { Novu } from "@novu/node";const novu = new Novu("<NOVU_SECRET_KEY>");const response = await novu.subscribers.get("subscriberId");console.log(response.data);