GET/desk/api/v2/me.json

Get the currently logged in user.

The following values are allowed in the includes query parameter:

  • inboxes
  • permissionusers
  • trainingwheelsenrollments
  • users
  • all

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    UserAPIBody handles request/response for a single user
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

UserAPIBody
{  "included": {    "inboxes": [      {        "autoReplyEnabled": true,        "autoReplyFromUserId": 0,        "autoReplyMessage": "string",        "autoReplySubject": "string",        "clientOnly": true,        "createdAt": "2024-10-10T18:19:43.547Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {            "additionalProp": "Unknown Type: any"          },          "type": 0        },