Add list of words (addwords)
Add words to a dictionary, or overwrite its entire wordlist.
Adds words to a dictionary.
Optionally replaces the entire dictionary wordlist.
What it does
Appends words from
wordlistto the dictionary.When
overwrite=true, replaces the entire wordlist.
Required parameters
cmd
string
custom_dictionary
action
string
addwords
id
integer
Exactly one dictionary ID
wordlist
string
Comma-separated words
Optional parameters
overwrite
boolean
Default: false. When true, replaces the whole wordlist.
format
string
json (default) or xml
callback
string
JSONP wrapper (JSON only)
overwrite=true replaces the entire wordlist.
This is destructive.
Request example (append)
Request example (overwrite)
Response example
The response wordlist contains only words that were newly added.
Possible errors
Missing
idorwordlist.Multiple IDs passed (only one is allowed).
Invalid words (length or characters).
Dictionary file size limit exceeded (HTTP 409).
See Errors reference.
Notes and edge cases
Partial success is reported as
status=warning.Words already present may be skipped and reported in
message.Words already recognized as correct can be filtered out.
Was this helpful?

