Back to Teamwork CRMCount unread emails
Counts of all unread email messages.
Input
type: object
properties:
parameters:
type: object
properties:
orderMode:
type: string
default: asc
enum:
- asc
- desc
description: Which direction to order the results in.
orderBy:
type: string
description: >-
The sorting which the items are returned with, see the endpoints
documentation
for supported values and [sorting](/crm/general/sorting)
for more detailed documentation of how this works.
include:
type: string
description: |-
Comma separated list of relationships to include in the response.
See
[including related entities](/crm/general/related-entities)
for more detailed documentation of how this works.
pageSize:
maximum: 200
minimum: 1
type: integer
default: 20
description: >-
Max number of items per page
See [pagination](/crm/general/pagination) for more detailed
documentation of how this works.
pageOffset:
type: integer
default: 0
description: >-
Offset items in the page by amount. For example with a pageSize of 20
setting pageOffset to 20 will return the next page.
See [pagination](/crm/general/pagination) for more detailed
documentation of how this works.
accountId:
type: integer
required:
- accountId
title: Parameters
Output
type: object
title: unreadCountResponse
properties:
unread:
type: array
items:
type: object
title: AccountUnreadCounts
properties:
count:
type: integer
name:
type: string