The custom_dictionary command is available for the WebSpellChecker server/on-premise version since the release of v5.23.0.0 in July 2022. The custom dictionary's Web APIs for the Cloud version are under development and are coming soon.