Chameleoon MAX · Emails
emailMessages query
emailMessages is a GraphQL query of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Returns the messages linked to a record, newest first. Use it to show a record's e-mail history.
- Requires the
email.readpermission, with the record in your API key's scope (otherwiseNOT_FOUND). - Lists only the messages your API key may read (see
EmailMessage). A message also linked to another record that your API key cannot see is left out. - A message's
htmlBodyandtextBodycost 50 points each.
A connection, paged with first/after or last/before, at most 250 a page.
Pass exactly one of first or last, from 1 to 250. first (with after) pages
forward; last (with before) pages backward. last alone returns the last page.
A page costs 2 + first (or last) × the cost of one node.
Arguments
entity:EmailResourceInput!· requiredfirst:Intafter:Stringlast:Intbefore:String
Returns
EmailMessageConnection!: a page of EmailMessage.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.