Creating Strapi admin users via API

Thank you Eventyret for the answer and for the welcoming.

After further research, it seems that the API endpoint exists: /admin/register
My concern now is that is I don’t know what to provide. It seems the endpoint is expecting a newUser object with firstname and password, which is ok. But it also needs a registrationToken that I don’t know how to generate. When I try some random string, I get an error with “Invalid registration info” message.

I tried to find the guide you’re talking about on discord and the forum, with no success