Emails can be stored in the CRM via the Email Logging feature, which associates them with contacts in your CRM.
This function creates a single email.
Ids of contacts to log email on.
Whether the email was sent by the user (as opposed to sent to the user). If this is false, the email will save as being sent by the contact where it was logged.
Object containing sender's email address and name.
Array of recipients containing their email address and name.
object
with the following fields:Array of Cc'd recipients containing their email address and name.
object
with the following fields:Cc'd recipient's email address.
Cc'd recipient's email display name.
Subject of the email.
Body of the email.
Id of the email to get.
This function gets a single email.
The Id for the email you want to get.
This function gets a list of all emails logged in your CRM. This list can be filtered down using the parameters provided. If you're just looking for a specific contact's emails, check out GetEmailsAttachedToContact
.
Ascending
, Descending
The list of emails will be sorted by date - you can specify this parameter to set ascending or descending sorting.
If specified, will only return emails created after the given date & time. Must be used in combination with DateFilterEnd.
If specified, will only return emails created before the given date & time. Must be used in combination with DateFilterStart.
Filters list based on given UserIds.
Filters list by the given ContactId - only emails attached to that contact will be shown, if specified.
If ContactId is set and is a company, specifying this parameter will also return emails from contacts that work at this company.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
Returns all emails attached to a contact.
The contact to get emails for.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
This function deletes an email from a contact's profile.
The Id for the email you want to delete.