Skip to main content

Generate and download a post exposure report

POST 

/api/v4/content_flagging/post/:post_id/exposure_report

Generates a CSV report listing the users who may have been exposed to a flagged post, derived from the channel membership history between the post's creation and it being flagged, and from each member's channel read state. All other content reviewers of the post's team are notified that an exposure report has been generated. The user must be a content reviewer of the team to which the post belongs to, and the post must be flagged. The report remains available after the review is closed, in any status. Exposure reports are not available for direct or group message channels. An enterprise advanced license is required.

Request

Responses

Report generated successfully. The response body is a CSV file. Metadata and the reporting window are emitted as #-prefixed comment lines above the header row.

Response Headers
    Content-Disposition

    Specifies the suggested filename for the downloaded file (e.g. attachment; filename=“post-exposure-{post_id}-{timestamp}.csv”).