Copy
Ask AI
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
const response = await novu.subscribers.get("subscriberId");
console.log(response.data);
Copy
Ask AI
{
"data": {
"_id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"avatar": "string",
"locale": "string",
"subscriberId": "string",
"channels": [
{
"providerId": "slack",
"integrationIdentifier": "string",
"credentials": {
"webhookUrl": "string",
"channel": "string",
"deviceTokens": [
"string"
]
},
"_integrationId": "string"
}
],
"isOnline": "boolean",
"lastOnlineAt": "string",
"_organizationId": "string",
"_environmentId": "string",
"deleted": "boolean",
"createdAt": "string",
"updatedAt": "string",
"__v": "number"
}
}
Path Parameters
Response
Ok
Show child attributes
Show child attributes