Easymailing
Email sends

List emails sent from the CRM

GET /sent_emails

GET/sent_emails

Lists the emails that already left through the CRM and whose copy is visible in the record: the ones the user sent plus those sent from mailboxes where the user has full access. No content: subject, recipients, date and sender.

When to use: To answer what was sent recently, to whom, or by whom.

When not to use: For emails not sent yet (queued, scheduled, failed) use list_email_sends. To read the content or the history of a record, use the email read operations (list_emails).

Filters: - search: text to look for (maximum 190 characters). Sorting: newest first. Pagination: page and itemsPerPage (default 30, maximum 100); the total is returned in hydra:totalItems.

Permissions: Requires a CRM seat and the crm.contacts_companies.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

search?string

Text to look for in the sent emails.

Lengthlength <= 190
page?integer

Page number, starting at 1.

Range1 <= value
Default1
itemsPerPage?integer

Emails per page. Default 30, maximum 100.

Range1 <= value <= 100
Default30

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/sent_emails?search=proposal&page=1&itemsPerPage=30" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "subject": "string",    "sender_uuid": "6fd60e87-ecde-4069-8fdb-aebbacafea6d",    "sender_address": "string",    "sent_at": "2019-08-24T14:15:22Z",    "recipients": [      {}    ],    "sent_by": {},    "mine": true  }]