Subscriber schema
Subscriber
Subscriber is the end user that receives notifications. Subscriber has subscriber attributes like firstName, lastName, email, phone, etc, data
field to store any custom attributes in key value pairs and channel credentials for push and chat channel provider's integrations. Read more about subscribers on subscribers concept page.
Prop | Type | Default |
---|---|---|
updatedAt? | string | - |
createdAt? | string | - |
deleted? | boolean | - |
environmentId? | string | - |
organizationId? | string | - |
subscriberId? | string | - |
timezone? | string | - |
data? | { [k: string]: any; } | null | - |
v? | number | - |
lastOnlineAt? | string | - |
isOnline? | boolean | - |
topics? | string[] | - |
channels? | ChannelSettingsDto[] | - |
locale? | string | - |
avatar? | string | - |
phone? | string | - |
email? | string | - |
lastName? | string | - |
firstName? | string | - |
id? | string | - |
ChannelSettingsDto
ChannelSettings are credentials for push and chat channel provider's integrations. One subscriber can have credentials for multiple integrations of same provider of one channel type
Prop | Type | Default |
---|---|---|
integrationId? | string | - |
credentials? | ChannelCredentials | - |
integrationIdentifier? | string | - |
providerId? | ChatOrPushProviderEnum | - |
Credentials
Credentials like deviceTokens, webhookUrl, etc for a specific integration. providerId
could be chat channel providerId or push channel providerId.
Prop | Type | Default |
---|---|---|
accessKey? | string | - |
phoneNumberIdentification? | string | - |
channelId? | string | - |
externalLink? | string | - |
state? | string | - |
imageUrl? | string | - |
title? | string | - |
alertUid? | string | - |
instanceId? | string | - |
authenticationTokenKey? | string | - |
authenticateByToken? | boolean | - |
apiToken? | string | - |
datePath? | string | - |
idPath? | string | - |
secretKeyRequestHeader? | string | - |
apiKeyRequestHeader? | string | - |
ipPoolName? | string | - |
serviceAccount? | string | - |
hmac? | boolean | - |
redirectUrl? | string | - |
webhookUrl? | string | - |
baseUrl? | string | - |
tlsOptions? | TlsOptions | - |
ignoreTls? | boolean | - |
requireTls? | boolean | - |
clientId? | string | - |
applicationId? | string | - |
projectName? | string | - |
senderName? | string | - |
from? | string | - |
token? | string | - |
messageProfileId? | string | - |
accountSid? | string | - |
region? | string | - |
secure? | boolean | - |
port? | string | - |
host? | string | - |
password? | string | - |
domain? | string | - |
secretKey? | string | - |
user? | string | - |
apiKey? | string | - |