API reference
API reference
Select your platform
No SDKs available
No versions available

AbuseReport

Updated: Jul 24, 2025

AbuseReport

class AbuseReport
The Abuse Report API provides a way for users to report abusive behavior or content within the platform. It allows developers to submit reports for various types of content, including users horizon.platform.abuse_report.enums.AbuseReportType.user, or an object/content horizon.platform.abuse_report.enums.AbuseReportType.object.

Constructors

NameSummary
AbuseReport
constructor()

Types

NameSummary
Companion
object Companion

Functions

NameSummary
launchAdvancedReportFlow
suspend fun launchAdvancedReportFlow(contentId: Long, abuseReportOptions: AdvancedAbuseReportOptions): LaunchReportFlowResult
Launch the flow for reporting a user or piece of content. This advanced version of the report endpoint allows for submitting reports for worlds and other content, as well as customizing the way the report flow operates. Returns the ID of the filed report upon success.
reportButtonPressed
fun reportButtonPressed(): Flow<String>
The user has tapped the report button in the panel that appears after pressing the Oculus button.
reportRequestHandled
suspend fun reportRequestHandled(response: ReportRequestResponse)
The currently running application has indicated they want to show their in-app reporting flow or that they choose to ignore the request.

Companion

object Companion
Did you find this page helpful?
Thumbs up icon
Thumbs down icon