Skip to content

List the emails sent to a customer from Hook

Tool name: list_customer_sent_emails

Returns the emails sent to one customer from Hook, by a member or by one of the organization’s agents, most recent first, with whether each was opened, clicked, replied to or bounced. Emails synced from the customer’s mail or CRM are in list_customer_conversations, where an email sent from Hook can also appear. Use get_conversation with type sent_email and the id for the text of the email.

Input schema

customerstring, non-emptyrequired

The name of the customer, its ID, or its ID in a CRM or another source written as source:ID, such as salesforce:0010x000000aAAA. Use an ID when you have one; a name must match one customer

fromDatestring
Any of:

Only emails sent on or after this date, such as 2025-01-31

string (date)
toDatestring
Any of:

Only emails sent on or before this date. A day, such as 2025-03-31, includes the whole day

string (date)
openedboolean

true for only emails that were opened, false for only those that were not

clickedboolean

true for only emails with a link that was clicked, false for the rest

repliedboolean

true for only emails that were replied to, false for the rest

bouncedboolean

true for only emails that bounced, false for the rest

limitinteger, [ 1 .. 25 ]

How many to return, up to 25. Ask for more only if the first results were not enough

Default:10
offsetinteger, [ 0 .. 9007199254740991 ]

How many to skip from the start of the list. To continue a list, give how many have been returned so far

Default:0
Input example
{ "customer": "string", "fromDate": "2019-08-24", "toDate": "2019-08-24", "opened": true, "clicked": true, "replied": true, "bounced": true, "limit": 10, "offset": 0 }