Skip to main content
Returns every digest email subscription in the workspace, as listed under Digest Emails in workspace settings: each recipient, the digest they receive and its schedule. All subscriptions are returned without pagination. The response includes every recipient’s email address, and anyone who can call this operation sees all of them. Treat it as personal data.

Authorization

Requires an Admin API key, or an OAuth sign-in with Admin access by any workspace member. Read and Write keys get 403, and a sign-in with Read or Write access gets an insufficient_scope challenge for macroscope:admin.
string
required
Bearer <key>. See Authentication.

Path parameters

string
required
GITHUB_ORGANIZATION or GITHUB_USER.
string
required
Numeric GitHub ID of the organization or user.

Response

DigestSubscription[]
The subscriptions. Omitted when there are none.

DigestSubscription

string
The digest: DIGEST_REPORT_TYPE_PROJECT_ACTIVITY (the workspace-wide activity digest) or DIGEST_REPORT_TYPE_AREA_ACTIVITY (the activity digest of one area).
string
Recipient email address.
string
How often the digest is sent: DIGEST_CADENCE_DAILY, DIGEST_CADENCE_WEEKLY, DIGEST_CADENCE_BIWEEKLY, DIGEST_CADENCE_MONTHLY or DIGEST_CADENCE_QUARTERLY.
integer
Weekday the digest is sent on, from 0 (Sunday) to 6 (Saturday). Omitted when not set. A present 0 means Sunday.
integer
Week of the period the digest is sent in: 1 to 5 for a monthly digest and 1 to 14 for a quarterly one. Omitted for other cadences.
string
Area of an area digest, as returned by List areas. Present only for DIGEST_REPORT_TYPE_AREA_ACTIVITY.

Errors

HTTPMeaning
403Your credential or your permissions do not allow managing digests
See Errors for the rest.