import { SubscriberResponseDto } from "@novu/api/models/components";
let value: SubscriberResponseDto = {
subscriberId: "<id>",
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "<value>",
updatedAt: "<value>",
};
Field |
Type |
Required |
Description |
id |
string |
➖ |
The internal id novu generated for your subscriber, this is not the subscriberId matching your query. See subscriberId for that |
firstName |
string |
➖ |
N/A |
lastName |
string |
➖ |
N/A |
email |
string |
➖ |
N/A |
phone |
string |
➖ |
N/A |
avatar |
string |
➖ |
N/A |
locale |
string |
➖ |
N/A |
subscriberId |
string |
✔️ |
The internal identifier you used to create this subscriber, usually correlates to the id the user in your systems |
channels |
components.ChannelSettings[] |
➖ |
Channels settings for subscriber |
topics |
string[] |
➖ |
Topics that subscriber belongs to |
isOnline |
boolean |
➖ |
N/A |
lastOnlineAt |
string |
➖ |
N/A |
organizationId |
string |
✔️ |
N/A |
environmentId |
string |
✔️ |
N/A |
deleted |
boolean |
✔️ |
N/A |
createdAt |
string |
✔️ |
N/A |
updatedAt |
string |
✔️ |
N/A |
v |
number |
➖ |
N/A |