CoworkerMessages
Search CoworkerMessages
Search and list CoworkerMessage records with filtering, sorting, and pagination.
GET
Search CoworkerMessages
A customer message (CoworkerMessage) records an incoming or outgoing email communication associated with a customer; operators can create outbound messages and inspect message history by customer or connected email account.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerMessage-List role.Enums
eBusinessMessageName
eBusinessMessageName
Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the customer who sent or received this message; location access is determined through the customer’s InvoicingBusiness..
string
Filter by display value for Coworker.FullName..
string
Filter by display value for Coworker.Email..
string
Filter by display value for Coworker.BillingName..
string
Filter by display value for Coworker.CompanyName..
integer
Filter by iD of the optional connected email account used to send or receive this message; when omitted, the customer’s location default email settings are used..
string
Filter by display value for EmailAccount.DisplayName..
string
Filter by display value for EmailAccount.EmailAddress..
string
Filter by message subject, limited to 254 characters..
string
Filter by hTML message body; canned-response tokens are expanded for the customer before an outgoing email is queued..
boolean
Filter by whether the message is unread; the system clears this flag when the message is updated..
boolean
Filter by whether the message was received from the customer (true) rather than sent to the customer (false); inbound messages are created by the email integration..
integer
Filter by internal identifier assigned by the email provider when importing a message; it is not an automated message template ID..
string
Filter by internal unique identifier of the reminder that generated this message, when applicable..
integer
Filter by internal ID of the AI channel session used to associate this message with an AI conversation timeline..
string
Filter by internal RFC 5322 Message-ID header used for email threading and replies; generated by the sending workflow..
Range Filters
integer
Filter by internal identifier assigned by the email provider when importing a message; it is not an automated message template ID. greater than or equal to this value.
integer
Filter by internal identifier assigned by the email provider when importing a message; it is not an automated message template ID. less than or equal to this value.
string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by CreatedOn
Range filters
Response
200
CoworkerMessage[]
The list of CoworkerMessage records matching the query. See the Get one CoworkerMessage endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response