BoldSales

API Documentation

Permission Sets

Retrieves the list of available permission sets and their properties.

Get all permission sets

get/api/v1/permission-sets

Retrieves the list of all permission sets, including name, description, assigned user count, creator, and timestamps.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/permission-sets' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Example response

200 Success

{
  "data": [
    {
      "id": 1,
      "name": "System Administrator",
      "description": "Grants full access to all system features, including user management, settings, and data administration.",
      "assignedUserCount": 5,
      "creator": {
        "id": 1001,
        "name": "Emily Parker",
        "status": "Active"
      },
      "createdOn": "2023-05-10T10:30:00Z",
      "modifier": {
        "id": 1002,
        "name": "Michael Chen",
        "status": "Active"
      },
      "modifiedOn": "2024-08-15T14:00:00Z"
    },
    {
      "id": 2,
      "name": "View-Only Access",
      "description": "Grants read-only access to all modules. The user cannot create, edit, or delete any data.",
      "assignedUserCount": 25,
       "creator": {
        "id": 1003,
        "name": "Adam Sandler",
        "status": "Active"
      },
      "createdOn": "2023-06-20T11:00:00Z",
      "modifier": {
        "id": 1003,
        "name": "Armin Ackerman",
        "status": "Active"
      },
      "modifiedOn": "2024-07-01T16:20:00Z"
    }
  ]
}