Skip to main content
PUT

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

newsId
string
required

Body

application/json

The body is of type any.

Response

200 - application/json

Ok

Generic types for Document:

  • T - the type of _id
  • TQueryHelpers - Object with any helpers that should be mixed into the Query type
  • DocType - the type of the actual Document created
startSendingAfter
string<date-time>
required
stopSendingAfter
string<date-time>
required
pageRules
object[]
required
pageFilterType
enum<string>
required
Available options:
is,
contains,
isnot,
notcontains,
startswith,
endswith,
empty,
notempty
frequencyDays
number<double>
required
frequency
string
required
frequencyType
string
required
sent
boolean
required
sound
boolean
required
newTrigger
boolean
required
format
string
required
updatedAt
string<date-time>
required
status
string
required
targetAudience
string
required
createdAt
string<date-time>
required
hidden
boolean
required
tags
string[]
required
name
string
required
type
string
required
_id
string
required
emailTemplate
object
sourceOutbound
object
trigger
any
pageFilterDelay
number<double>
pageFilter
string
eventTriggerDelay
number<double>
eventTrigger
string
actionType
string
sentAt
string<date-time>
stats
any
subject
any
coverImageUrl
string
slug
string
subType
string
sender
object
searchContent
string
project
object
data
any
conditions
any
config
any
message
any
aiSummaryOutdated
boolean
aiSummary
string
organisation
object
createdBy
object