We have multiple closed groups in our community.
Flow is:
1. User Signup web hook -> 
2. Hitting the api to add user to the relevant group based on user properties in our internal database  -> 
3. User is not added to the group instead it goes to moderation for approval.

Is this by design?

Our expectation is that if we are using auth creds of an admin to hit the API the request should not go to the moderation.
In web interface if an admin adds a user to a group that request does not go to moderation.

@CJ Verma