Subscribers
Get notifications feed for a subscriber
Getting Started
Workflow
Processors
Organizations
Patients
Voice Notes
Transcripts
- GETGet paginated finalized sentences for a voice note
- GETFetch details for multiple finalized sentences
- POSTSearch sentences by embedding
- POSTSave voice note audio
- POSTGenerate audio upload URL
- GETGenerate presigned voice note audio URL
- GETGet list of questions to check in transcripts
- GETGet the answered status of predefined questions for a voice note
Survey
Visits
Subscribers
Get notifications feed for a subscriber
GET
/
v1
/
subscribers
/
{subscriberId}
/
notifications
/
feed
curl --request GET \
--url https://app.enzo.health/api/v1/subscribers/{subscriberId}/notifications/feed \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"cta": {
"action": {
"buttons": []
},
"type": "<string>",
"data": {
"url": "<string>"
}
},
"_id": "<string>",
"_templateId": "<string>",
"_environmentId": "<string>",
"_messageTemplateId": "<string>",
"_notificationId": "<string>",
"_organizationId": "<string>",
"_subscriberId": "<string>",
"_jobId": "<string>",
"templateIdentifier": "<string>",
"channel": "<string>",
"content": "<string>",
"providerId": "<string>",
"deviceTokens": [],
"seen": true,
"read": true,
"archived": true,
"status": "<string>",
"transactionId": "<string>",
"payload": {
"recordId": "<string>",
"type": "<string>",
"description": "<string>",
"url": "<string>",
"chatId": "<string>"
},
"tags": [],
"deleted": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"__v": 123,
"lastSeenDate": "<string>",
"subscriber": {
"_id": "<string>",
"subscriberId": "<string>",
"firstName": "<string>",
"id": "<string>"
},
"template": {
"_id": "<string>",
"tags": [
"<any>"
],
"id": "<string>"
},
"actorSubscriber": "<any>",
"id": "<string>"
}
],
"totalCount": 123,
"hasMore": true,
"pageSize": 123,
"page": 123
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successful response
curl --request GET \
--url https://app.enzo.health/api/v1/subscribers/{subscriberId}/notifications/feed \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"cta": {
"action": {
"buttons": []
},
"type": "<string>",
"data": {
"url": "<string>"
}
},
"_id": "<string>",
"_templateId": "<string>",
"_environmentId": "<string>",
"_messageTemplateId": "<string>",
"_notificationId": "<string>",
"_organizationId": "<string>",
"_subscriberId": "<string>",
"_jobId": "<string>",
"templateIdentifier": "<string>",
"channel": "<string>",
"content": "<string>",
"providerId": "<string>",
"deviceTokens": [],
"seen": true,
"read": true,
"archived": true,
"status": "<string>",
"transactionId": "<string>",
"payload": {
"recordId": "<string>",
"type": "<string>",
"description": "<string>",
"url": "<string>",
"chatId": "<string>"
},
"tags": [],
"deleted": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"__v": 123,
"lastSeenDate": "<string>",
"subscriber": {
"_id": "<string>",
"subscriberId": "<string>",
"firstName": "<string>",
"id": "<string>"
},
"template": {
"_id": "<string>",
"tags": [
"<any>"
],
"id": "<string>"
},
"actorSubscriber": "<any>",
"id": "<string>"
}
],
"totalCount": 123,
"hasMore": true,
"pageSize": 123,
"page": 123
}