Skip to content

Which campaigns are digest issues, with their posts and what changed since the last approved issue

GET
/api/v1/workspaces/{workspace}/digest-issues
curl --request GET \
--url https://reputecast.example.com/api/v1/workspaces/acme-newsletter/digest-issues \
--header 'Authorization: Bearer <token>'

Permission: campaigns:view

workspace
required

Workspace slug

string
/^[a-z0-9][a-z0-9-]{1,62}$/

Workspace slug

campaigns

Campaign ids, comma-separated (up to 100)

string
<= 4000 characters

Campaign ids, comma-separated (up to 100)

OK

Media typeapplication/json
object
items
required
Array<object>
object
campaignId
required
string
deadline
string format: date-time
digestId
required
string
digestName
required
string
holdReason
string
Allowed values: readiness changes rejected no_approvers ""
issueId
required
string
mode
required
string
Allowed values: auto draft
number
required
integer format: int64
owner
object
color
required
string
id
required
string
initials
required
string
name
required
string
posts
required
Array<object>
object
altFromTitle
required
boolean
author
required
string
categories
required
Array<string>
excerpt
required
string
fallback
required
boolean
firstSeenAt
required
string format: date-time
firstSeenVia
required
string
id
required
string
image
string
imageAlt
string
leftOutBy
string
Allowed values: category tag age ""
published
string format: date-time
sentIn
integer format: int64
status
required
string
Allowed values: new sent left_out before_start
tags
required
Array<string>
title
required
string
url
required
string
preparedAt
string format: date-time
previousCampaignId
string
previousNumber
integer format: int64
releaseHelpers
required
Array<string>
sendAt
string format: date-time
since
object
approvedAt
string format: date-time
changed
required
Array<string>
number
required
integer format: int64
sentAt
string format: date-time
status
required
string
Allowed values: collecting preparing prepared waiting held draft sending sent skipped not_sent

Example

{
"items": [
{
"holdReason": "readiness",
"mode": "auto",
"posts": [
{
"leftOutBy": "category",
"status": "new"
}
],
"status": "collecting"
}
]
}

Error

Media typeapplication/problem+json
object
code

Stable error code, e.g. permission_denied

string
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object>
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

helpers

Members who hold the missing permission

Array<string>
instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
meta
object
key
additional properties
permission

The missing permission key

string
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank

Example

{
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}