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.review

The account's own flagged messages.

GET/audit-logaccounts.manage

The account's audit trail - role changes, user removals, campaign sends, and similar actions.

GET/admin/moderation-flags

Moderation flags across every account.

Platform-admin only.

PATCH/admin/moderation-flags/:id

Review a flag. Only setting status to ACCOUNT_SUSPENDED actually suspends the account.

Platform-admin only.

GET/admin/audit-log

The platform-wide audit trail.

Platform-admin only.