If the default role (pre-configured) template is saved as a 'custom role' in the UI then integrators can use the 'Retrieves the roles on an account' endpoint: GET /settings/v3/users/roles to retrieve the role Id. You can then use the role Id along with the 'Adds a user' endpoint: POST /settings/v3/users/ to assign the role to a user.
If you have any follow up questios, just let me know.
If the default role (pre-configured) template is saved as a 'custom role' in the UI then integrators can use the 'Retrieves the roles on an account' endpoint: GET /settings/v3/users/roles to retrieve the role Id. You can then use the role Id along with the 'Adds a user' endpoint: POST /settings/v3/users/ to assign the role to a user.
If you have any follow up questios, just let me know.