# Create a new role **POST /roles** Add a new role with the given details. ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Body: application/json (object) - **roleId** (integer) - **name** (string) - **companyID** (integer) ## Responses ### 201 Role created successfully ### 500 Error occurred while creating role [Powered by Bump.sh](https://bump.sh)