List
List of emails with paging
POST https://do.workzeal.com/common/list/paging/24
Path Parameters
/24*
Int
Code of the module № 24 is Mail
Query Parameters
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
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
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
Columns for filtering
Users⚡️user_ids
Коды пользователей можно найти в раздели - пользоватли
⚡️segment
Inbox
Sent
Drafts
Trash
Spam
More
Ready-made custom filters
Filters⚡️ user_filter_ids
Filter codes can be found in the filters section