GET/desk/api/v2/users/{id}.json

Get a single user by id.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

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",        "createdAt": "2024-07-22T17:45:09.733Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },        "deletedAt": "2024-07-22T17:45:09.733Z",        "deletedBy": {          "delete": true,