Create Clerk organization role
Create a new organization role in a connected Clerk application.
← All Clerk endpoints · Capability overview
/v1/clerk/organization-roleshttps://api.vee3.io/v1/clerk/organization-roles
Create a new organization role in a connected Clerk application.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.create_organization_roleParameters6 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
namestringRequiredRole display name.
keystringRequiredUnique role key.
descriptionstringOptionalRole description.
permissionsarrayOptionalPermission keys to assign to the new role.
include_in_initial_role_setbooleanOptionalWhether to include this role in the initial role set.
Response16 fields
organization_roleobject15 fieldsNewly created organization role summary.
organization_roleobjectidstringClerk organization role id.
namestringRole display name.
keystringRole key used in memberships.
descriptionstringRole description.
is_creator_eligiblebooleanWhether this role may be assigned as organization creator.
permissionsarrayitems7 fieldsPermissions assigned to this role.
permissionsarrayitemsidstringClerk organization permission id.
namestringPermission display name.
keystringPermission key used in role assignments.
descriptionstringPermission description.
typestringPermission type (system or custom).
created_atintegerUnix timestamp in milliseconds when the permission was created.
updated_atintegerUnix timestamp in milliseconds when the permission was last updated.
created_atintegerUnix timestamp in milliseconds when the role was created.
updated_atintegerUnix timestamp in milliseconds when the role was last updated.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required