GET
/
wordlist
/
{id}
curl --request GET \
  --url https://moderationapi.com/api/v1/wordlist/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "words": [
    "<string>"
  ],
  "createdAt": "<string>",
  "organizationId": "<string>",
  "userId": "<string>",
  "strict": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the wordlist to get

Response

200
application/json
Successful response
id
string
required

ID of the wordlist

name
string | null
required

Name of the wordlist

words
string[]
required

Words in the wordlist

createdAt
string
required

Creation date of the wordlist

organizationId
string
required

ID of the organization

userId
string | null
required

ID of the user

strict
boolean
required

Strict mode

Was this page helpful?