POST
/
profile
Create a new user
curl --request POST \
  --url https://demo.enneo.ai/api/mind/profile \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "firstName": "Max",
  "lastName": "Mustermann",
  "email": "demo@enneo.dev",
  "phone": "+49 123 456789",
  "password": 123456,
  "lastSeen": "2022-08-12 12:21:21",
  "type": "enneo",
  "isSsoOnly": 0,
  "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,
    "limitTicketBacklogAccess": false,
    "ticketBacklogRequiredTagIds": [
      1
    ],
    "tagsOnRoute": [
      1
    ],
    "tagsOnEdit": [
      1
    ],
    "actualLimitTicketBacklogAccess": false,
    "actualTicketBacklogRequiredTagIds": [
      1
    ],
    "actualTagsOnRoute": [
      1
    ],
    "actualTagsOnEdit": [
      1
    ],
    "isPersonalFilters": false,
    "inheritTeamSettings": false,
    "nameReports": "Tapfere Feige"
  }
}'
{
  "success": true,
  "id": 1
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
id
integer

User ID

Example:

1

firstName
string

First name

Example:

"Max"

lastName
string

Last name

Example:

"Mustermann"

email
string

Email address (read only)

Example:

"demo@enneo.dev"

phone
string

Phone number

Example:

"+49 123 456789"

image
file

Image

password
string

Password

Example:

123456

lastSeen
string<DateTime>

The last time the user was seen (read only)

Example:

"2022-08-12 12:21:21"

type
string

The type of the user

Example:

"enneo"

isSsoOnly
enum<integer>

If 1, the user can only login via SSO. If 0, the user can login with password or SSO

Available options:
0,
1
Example:

0

lang
string

The language of the user

Example:

"de"

settings
object | null

Response

Successful operation

success
boolean
Example:

true

id
integer
Example:

1