User account creation based on email id and social login token

Hi Team

I would like to know if we have an existing Auth0 api or a sample code to be able to create a user based on user details[like email id, first name, last name, address] and token similar to how it is done in case of Single Sign on with Google.

I am currently receiving a http response from Google which has above user details and token for a piece of code that I am working on.

I did see that there is a Sign in with Google UI and toggle available for that on Auth0 dashboard. However, I would like to achieve user creation purely from code/api without showing the UI (Auth0 login screen)

Working on this here: Can we use any api/endpoint provided by Auth0 to create user based on email id and token