# Getting User Permissions from API

**URL:** <https://community.hubspot.com/t/getting-user-permissions-from-api/40878>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, free\
**Created:** [July 16, 2021, 5:25pm UTC](https://community.hubspot.com/t/getting-user-permissions-from-api/40878 "2021-07-16T17:25:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [July 19, 2021, 12:25pm UTC](https://community.hubspot.com/t/getting-user-permissions-from-api/40878/3 "2021-07-19T12:25:13Z")

</div>

Hi @MJin,

The User Provisioning API has expanded since 2021. Check the current subscription and scope requirements for the specific operation rather than assuming the entire API is Enterprise-only.

More details here - [Create and assign permission sets](https://knowledge.hubspot.com/settings/create-roles)

After this API call, you will get the roleId as mentioned in the doc. HubSpot now offers additional user and permissions APIs, but these don’t necessarily provide a complete role definition from a `roleId`.

This is how I made this work for 1 of our customers -

We have a local database of role details and roleId, and I’m using that as a reference to match the roleId.

Hope this helps,

Regards,

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 23, 2026. Thank you for your contributions to the HubSpot Community!_

---

_[View the full topic](https://community.hubspot.com/t/getting-user-permissions-from-api/40878)._
