An API call is needed to add authors to a submission

Where does one get the userGroupId to create a contributor? This is related to this post.