Getting started
Create a dictionary, add words, and verify it works.
This flow creates a dictionary, adds words, and verifies the result.
Use the shared endpoint and request formats.
See HTTP API Overview.
1
Create a dictionary
Request body (JSON):
{
"cmd": "user_dictionary",
"action": "create",
"name": "my_dict"
}Optional: create with an initial wordlist:
{
"cmd": "user_dictionary",
"action": "create",
"name": "my_dict",
"wordlist": "WebSpellChecker,WProofreader"
}Response (JSON):
{
"name": "my_dict",
"action": "create",
"wordlist": ["WebSpellChecker", "WProofreader"],
"modificationTime": 1772124021
}Possible errors:
DictionaryAlreadyExistsExceptionInvalidUserDictName
2
Add your first words
Request body (JSON):
{
"cmd": "user_dictionary",
"action": "addwords",
"name": "my_dict",
"word": "API"
}Or add multiple words:
{
"cmd": "user_dictionary",
"action": "addwords",
"name": "my_dict",
"wordlist": "API,SDK,DevOps"
}Response (JSON):
{
"name": "my_dict",
"action": "addword",
"wordlist": ["API", "SDK", "DevOps"],
"modificationTime": 1772124069
}3
Next
Use Actions to see all available actions.
Use Parameters reference to see all parameters.
Use Errors reference to handle failures.
Last updated
Was this helpful?

