List

Please note: if there are no values ​​in the user_ids parameter, the default will display a list of emails from accounts belonging to the token owner.

List of emails with paging

POST https://do.workzeal.com/common/list/paging/24

Path Parameters

Name
Type
Description

/24*

Int

Code of the module № 24 is Mail

Query Parameters

Name
Type
Description

columns

String

List of columns

sorting_direction

Int

0: ASC 1: DSC

sorting_column

String

Column for sorting

page

Int

Page number

records_onpage

Int

Records on one page but not more than 500

Headers

Name
Type
Description

Authorization*

String

Bearer XXXXX-XXXXXXX-XXXXX

Content-Type*

String

application/json

Answer

{
  "status": "success",
  "error": "",
  "code": null,
  "rows": 1,
  "pages": 1,
  "page": 1,
  "value": "[
       {"id":1,"subject":"Happy!"}
  ]"

Example

Columns

Note: Both legal entities and individuals. For legal entities, company_name is the company name, while for individuals, it's the individual's full name.

Имя
Описание

id

Letter ID

from

From name

from_address

From address

to

To name

to_address

To address

cc

Copy

bcc

Hide copy

subject

Subject

date

Date

user_name

Username, owned an account

company_name

Client name

company_id

Client IS

contact_id

Contact ID

contact

Contact name

company_type_id

Client's type ID

company_type

Client's type

company_category_id

Client's category ID

company_category

Client's category

company_status_id

Client's status ID

company_status

Client's status

deal

Name of a deal that letter is related to

deal_id

Deal ID

message_id

Unique Message ID

attachment_flag

1: The letter has attachment 0: Has not

small_part_of_body

First 255 characters of the letter

body

Email content in HTML format ⚡️ It is not recommended to specify this column in large list queries. When possible, retrieve the position of a single email by ID. Filter parameter id=xx

Filtering

Note: You can use two filtering methods: standard filtering by columns and filtering by the ID of a pre-made filter created within the app. For more information, look at https://help.workzeal.com/settings/filters

Columns for filtering

⚡️user_ids

Коды пользователей можно найти в раздели - пользоватли

Users

⚡️segment

  1. Inbox

  2. Sent

  3. Drafts

  4. Trash

  5. Spam

  6. More

Ready-made custom filters

⚡️ user_filter_ids

Filter codes can be found in the filters section

Filters