quoteEmailThread
Requires permission sales:quote:read.
The email conversation for one quote: every message sent and received.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query QuoteEmailThread($quoteId: ID!) {
quoteEmailThread(quoteId: $quoteId) {
id
fromName
toName
status
createdAt
attachmentCount
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query QuoteEmailThread($quoteId: ID!) {\n quoteEmailThread(quoteId: $quoteId) {\n id\n fromName\n toName\n status\n createdAt\n attachmentCount\n }\n}",
"variables": {
"quoteId": "id"
}
}
EOF
Variables:
{
"quoteId": "id"
}
Response:
{
"data": {
"quoteEmailThread": [
{
"id": "id",
"fromName": "string",
"toName": "string",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z",
"attachmentCount": 0
}
]
}
}
quoteEmailThread(
quoteId: ID!
): [QuoteEmailActivity!]!
Arguments
quoteEmailThread.quoteId ● ID! non-null scalar
The ID of the quote.
Type
QuoteEmailActivity object
One email sent or received about a quote, with its delivery and engagement tracking.