GET/desk/api/v2/inboxes/counts.json

Get a paginated list of inboxes.

The following values are allowed in the filter query parameter:

  • id
  • name
  • email
  • localPart
  • useTeamworkMailServer
  • smtpPassword
  • smtpPasswordEncrypted
  • smtpProvider
  • smtpPort
  • smtpSecurity
  • smtpServer
  • smtpUsername
  • autoReplyEnabled
  • autoReplySubject
  • autoReplyMessage
  • autoReplyFromUserId
  • displayOrder
  • spamThreshold
  • happinessRatingEnabled
  • happinessRatingMessage
  • timeloggingEnabled
  • timeloggingProjectId
  • iconImage
  • publicIconImage
  • languageCode
  • onClosedLock
  • onClosedWait
  • sendEmailsFrom
  • signature
  • usingOfficeHours
  • isAdmin
  • starred
  • notificationOnly
  • synced
  • syncDays
  • syncAccountId
  • syncSubscriptionId
  • includeTicketHistoryOnForward
  • createdAt
  • updatedAt
  • createdBy
  • updatedBy
  • state

The following values are allowed in the orderBy query parameter:

  • id
  • name
  • email
  • localPart
  • useTeamworkMailServer
  • smtpPassword
  • smtpPasswordEncrypted
  • smtpProvider
  • smtpPort
  • smtpSecurity
  • smtpServer
  • smtpUsername
  • autoReplyEnabled
  • autoReplySubject
  • autoReplyMessage
  • autoReplyFromUserId
  • displayOrder
  • spamThreshold
  • happinessRatingEnabled
  • happinessRatingMessage
  • timeloggingEnabled
  • timeloggingProjectId
  • iconImage
  • publicIconImage
  • languageCode
  • onClosedLock
  • onClosedWait
  • sendEmailsFrom
  • signature
  • usingOfficeHours
  • isAdmin
  • starred
  • notificationOnly
  • synced
  • syncDays
  • syncAccountId
  • syncSubscriptionId
  • includeTicketHistoryOnForward
  • createdAt
  • updatedAt
  • createdBy
  • updatedBy
  • state

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • 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

TicketCounts
{
  "inboxcounts": [
    {
      "count": 0,
      "displayOrder": 0,
      "inbox": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "status": "string"
    }
  ],
  "scheduled": [
    {
      "count": 0,
      "displayOrder": 0,
      "inbox": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "status": "string"
    }
  ],
  "trainingwheelcounts": [
    {
      "count": 0,
      "displayOrder": 0,
      "inbox": {
        "delete": true,
        "id": 0,
        "meta": {},
        "type": 0
      },
      "status": "string"
    }
  ]
}