GET
/
authors
/
{authorId}
curl --request GET \
  --url https://moderationapi.com/api/v1/authors/{authorId} \
  --header 'Authorization: Bearer <token>'
{
  "author": {
    "id": "<string>",
    "name": "<string>",
    "memberSince": "<string>",
    "lastActive": "<string>",
    "reputation": {
      "current": 123,
      "history": [
        {
          "date": "<string>",
          "score": 123,
          "reason": "<string>"
        }
      ]
    },
    "activityMetrics": {
      "totalContent": 123,
      "flaggedContent": 123,
      "violationCount": 123,
      "reportCount": 123,
      "averageSentiment": 123,
      "contentByType": {},
      "activityHeatmap": [
        {
          "hour": 123,
          "day": 123,
          "intensity": 123
        }
      ]
    },
    "riskAnalysis": {
      "overallRisk": "low",
      "factors": [
        {
          "factor": "<string>",
          "severity": "low",
          "description": "<string>"
        }
      ],
      "recommendations": [
        "<string>"
      ]
    },
    "contentAnalysis": {
      "topKeywords": [
        {
          "keyword": "<string>",
          "frequency": 123
        }
      ],
      "sentimentTrend": [
        {
          "date": "<string>",
          "sentiment": 123
        }
      ],
      "contentSamples": [
        {
          "id": "<string>",
          "content": "<string>",
          "type": "<string>",
          "flags": [
            "<string>"
          ],
          "sentiment": 123,
          "createdAt": "<string>"
        }
      ]
    },
    "moderationHistory": [
      {
        "date": "<string>",
        "action": "<string>",
        "reason": "<string>",
        "duration": 123,
        "moderator": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

authorId
string
required

The ID of the author to fetch details for

Query Parameters

includeContentSamples
boolean
default:false

Whether to include content samples

Response

200
application/json
Successful response
author
object
required

Was this page helpful?