GET
/
profiles
curl --request GET \
  --url https://demo.enneo.ai/api/mind/profiles
{
  "success": true,
  "profiles": [
    {
      "id": 1,
      "firstName": "Max",
      "lastName": "Mustermann",
      "email": "demo@enneo.dev",
      "phone": "+49 123 456789",
      "lastSeen": "2021-08-12 12:21:21",
      "type": "enneo",
      "isSsoOnly": false,
      "lang": "de",
      "settings": {
        "roleId": 1,
        "skills": {
          "intents": [
            "process_meter_reading"
          ],
          "tagIds": [
            1
          ],
          "channels": [
            "email"
          ]
        },
        "status": "available",
        "departmentId": 1,
        "teamIds": [
          1
        ],
        "supersetRole": "<string>",
        "ticketsFilters": {
          "groups": [
            1
          ],
          "intents": [
            "process_meter_reading"
          ],
          "tagIds": [
            1
          ],
          "personalQueue": true,
          "onlyIntents": true
        },
        "freshdeskApiAuth": "STj8Iajtp5iMzogZalVT",
        "actualRoleId": 1,
        "isPersonalFilters": false,
        "inheritTeamSettings": false,
        "nameReports": "Tapfere Feige"
      }
    }
  ]
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

q
string

Search string. It searches in any part of firstName, lastName or email. Defaults to all users

show
enum<string>

Which profiles to show. Defaults to 'users'

Available options:
users,
all,
enneo,
serviceWorkers
format
enum<string>

Determines the format of the profiles. Possible values are 'full' or 'short'. In 'full' format, the settings and last login date of the user are included, provided the user has sufficient permissions.

Available options:
full,
short
teamIds
integer[] | null

List of team IDs. If provided, only users from these teams will be returned. When not specified, all users are returned. When "unassigned", only users without a team are returned.

tagIds
integer[]

List of tag IDs. If provided, only users with these skills will be returned

channels
string[]

List of channel IDs. If provided, only users with these channels will be returned

roleId
integer

Filter profiles by role ID

lastSeen
string

Filter users by their last seen time. Can be either a datetime value (e.g. "2023-12-01 14:30:00") or "online" to show only currently active users. When "online" is used, it shows users active in the last 10 minutes. Note: Requires 'readUserLastSeenDate' or 'readAnyUserProfile' permission.

Response

200 - application/json
Successful operation
success
boolean
profiles
object[]