POST
/
wordlist
/
{id}
/
words
curl --request POST \
  --url https://moderationapi.com/api/v1/wordlist/{id}/words \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "words": [
    "<string>"
  ]
}'
{
  "addedCount": 123,
  "totalCount": 123,
  "addedWords": [
    "<string>"
  ]
}

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 add words to

Body

application/json

Response

200
application/json
Words successfully added to wordlist

The response is of type object.