The Textbox.io Editor JavaScript API starts at the textboxio JavaScript global, all Textbox.io code runs via this object. The textboxioglobal is available immediately after textboxio.js has finished loading.
See the Getting Started guide for details on loading textboxio.js.