Create tokens with REST API / CLI

So I guess that would be some custom endpoint?