How to create users while registering with different roles via API?

@ramnew2006, You need to use a valid API_KEY for the X-DreamFactory-API-Key header. This would be the API key of your ‘vendor’ or ‘customer’ app. Without the API Key initial role won’t be set for your user.