Skip to content

Get email thread for LLM

Request

Get an email conversation thread formatted for LLM processing. Optimized for AI analysis and response generation.

Security
bearerAuth
Bodyapplication/jsonrequired
sender_profile_uuidstringrequired
lead_uuidstringrequired
lead_namestringrequired

Name of the contact (for personalization).

limitstring
sent_at_recency_in_daysinteger
POST
/emails/api/emails/llm-thread
curl -i -X POST \
  https://leadgen.grinfi.io/emails/api/emails/llm-thread \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "sender_profile_uuid": "string",
    "lead_uuid": "string",
    "lead_name": "string",
    "limit": "string",
    "sent_at_recency_in_days": 0
  }'

Responses

LLM-formatted email thread.