How to create an api key on the admin panel

You want the 422 - that means there’s some other problem with the data you’re sending, other than the authentication.