API for TextExpander

Try here:

https://textexpander.com/help/desktop/scriptingte.html

And of course the AppleScript dictionary available via most AppleScript editors.

1 Like