Get a role
View request and response examples ↓
Returns one built-in or custom role in the authenticated organization. Requires an API Key with the OrganizationAdmin role.
Authorization
API key for /v1 requests.
Path parameters
Response
Role returned successfully.
application/json
Child fields
Warehouse permissions effective for the role.
Item fields
permissionIdstring
Stored permission identifier for custom roles, when available.
Example
org-123_wh-123_1Valid values are 1 (Warehouse View), 2 (Warehouse Management), and 3 (Public warehouse access).
Allowed values
123Example
1createdAtstring · date-time
Creation timestamp for a custom role. Omitted for built-in roles.
Example
2026-08-14T08:30:00ZupdatedAtstring · date-time
Last updated timestamp for a custom role. Omitted for built-in roles.
Example
2026-08-14T08:30:00Z