Create a subscriber
Create a subscriber with the subscriber attributes. subscriberId is a required field, rest other fields are optional, if the subscriber already exists, it will be updated
Query parameters
If true, the request will fail if a subscriber with the same subscriberId already exists
Request body
Example request
{
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"avatar": "https://example.com/avatar.jpg",
"locale": "en-US",
"timezone": "America/New_York"
}Response
Created
Example response
{
"channels": [
{
"credentials": {
"webhookUrl": "https://example.com/webhook",
"channel": "general",
"deviceTokens": [
"token1",
"token2",
"token3"
],
"alertUid": "12345-abcde",
"title": "Critical Alert",
"imageUrl": "https://example.com/image.png",
"state": "resolved",
"externalUrl": "https://example.com/details"
}
}
]
}Changes
Changed in 4 of the 13 revisions of this API.124
- ●
added the new
novu-web-chatenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
novu-web-chatenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
removed the
novu-agent-chatenum value from the//response property for the response statusresponse-property-enum-value-removed
- ○
removed the
novu-agent-chatenum value from the//response property for the response statusresponse-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
novu-agent-chatenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
novu-agent-chatenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
removed the
novu-web-chatenum value from the//response property for the response statusresponse-property-enum-value-removed
- ○
removed the
novu-web-chatenum value from the//response property for the response statusresponse-property-enum-value-removed
- ●
- ●
added the new
novu-web-chatenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
novu-web-chatenum value to the//response property for the response statusresponse-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
lineenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
lineenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
sendblueenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
sendblueenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
webex-messagingenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
webex-messagingenum value to the//response property for the response statusresponse-property-enum-value-added
- ●