Moderation & audit log
Every message sent through the platform is automatically screened for hate speech, abuse, racism, and spam (see the note on this in Send an SMS) - these endpoints are for reviewing what it caught, and for auditing account activity.
GET
/moderation-flagsmoderation.reviewThe account's own flagged messages.
GET
/audit-logaccounts.manageThe account's audit trail - role changes, user removals, campaign sends, and similar actions.
GET
/admin/moderation-flagsModeration flags across every account.
Platform-admin only.
PATCH
/admin/moderation-flags/:idReview a flag. Only setting status to ACCOUNT_SUSPENDED actually suspends the account.
Platform-admin only.
GET
/admin/audit-logThe platform-wide audit trail.
Platform-admin only.