Option 1: Create a Permission Set with All Permissions Visible in the User Interface
Settings - Users - Permissions Sets
Option 2: Use an API call
GET /perms/permissions
Suggestions:
...
Settings - Users - Permissions Sets
GET /perms/permissions
Suggestions:
...