How might I create a new Electrum wallet programmatically? I want to create a new wallet using Electrum-apis. I have gone through the documentation given here but I haven't found any method to create a new wallet or an address.
Would someone guide me in this?
There is nothing special about an electrum wallet. The electrum API will allow you to query address balances, and build transactions, for any address, regardless of how they were created.

Electrum itself does use a special key derivation scheme, but that does not affect the usability from an API point of view. If you are using electrum servers as a backend, you should be able to generate wallets using any BIP39 library in your language of choice, and simply querying with the resulting addresses.