I need to mass-create groups using the API

Sorry. I thought that I’d pointed you to Reverse engineer the Discourse API. I recommend either using the reverse engineering method or look directly at the source. I don’t think that anyone who’s actively developing Discourse actually uses those docs, so I don’t trust them to be complete or up to date.