konerus
4 years agoAdept
Get company of user using userid
how do we get company of a userid through API?
- 4 years ago
You can get it with APIv1 : https://devdocportal.lithium.com/t5/Community-API-v1-Reference/bd-p/restv1docs?section=commv1&leaf-id=Settings.name.name#Settings.name.name
The setting name for company is profile.company, so a rest call might look like
https://community.lithium.com/restapi/vc/users/id/43/settings/name/profile.company
- 4 years ago
You would create an About endpoints for this purpose that you would then call from your frontend JavaScript code.