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 wordlist to the dictionary.

  • When overwrite=true, replaces the entire wordlist.

Required parameters

Parameter
Type
Notes

cmd

string

custom_dictionary

action

string

addwords

id

integer

Exactly one dictionary ID

wordlist

string

Comma-separated words

Optional parameters

Parameter
Type
Notes

overwrite

boolean

Default: false. When true, replaces the whole wordlist.

format

string

json (default) or xml

callback

string

JSONP wrapper (JSON only)

Request example (append)

Request example (overwrite)

Response example

The response wordlist contains only words that were newly added.

Possible errors

  • Missing id or wordlist.

  • 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.

Last updated

Was this helpful?