cURL
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>" ] }
Add words to an existing wordlist
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the wordlist to add words to
Words successfully added to wordlist
The response is of type object.
object
Was this page helpful?