How to get API-KEY for creating IDs

@jude I was trying the following to create .personal.id

curl -X POST -H ‘Authorization: bearer API-KEY-IF-USED’ -H ‘Content-Type: application/json’ --data ‘{“zonefile”: "$ORIGIN spqr\n$TTL 3600\n_https._tcp URI 10 1 "https://gaia.blockstack.org/hub/1HgW81v6MxGD76UwNbHXBi6Zre2fK8TwNi/profile.json"\n", “name”: “spqr”, “owner_address”: “1HgW81v6MxGD76UwNbHXBi6Zre2fK8TwNi”}’ http://localhost:3000/register/

Here we wanted to know how to get API-KEY and create ids with already registered subdomains.

Say for example:
akash.personal.id
neman.blockstack.id

This we need to do using the command and not through the browser. So please let us know.