POST
/
moderate
/
audio
curl --request POST \
  --url https://moderationapi.com/api/v1/moderate/audio \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contentId": "<string>",
  "doNotStore": true,
  "authorId": "<string>",
  "contextId": "<string>",
  "metadata": {},
  "url": "<string>"
}'
{
  "status": "<string>",
  "contentId": "<string>",
  "request": {
    "timestamp": 123,
    "quota_usage": 123
  },
  "flagged": true
}

Audio moderation needs to be enabled for accounts to use this endpoint. Please contact your support@moderationapi.com to talk about enabling this feature.

Authorizations

Authorization
string
header
required

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

Body

application/json

Input parameters for audio moderation

Response

200
application/json
Successful response

Audio moderation analysis results