API ReferenceEmail
Get Email Thread
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
conversationId*string
Conversation ID to fetch thread for
Format
uuidResponse Body
application/json
curl -X GET "https://samva.app/api/v1/email/thread/:conversationId?conversationId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"conversationId": "string",
"messages": [
{
"id": "string",
"subject": "string",
"fromEmail": "string",
"fromName": "string",
"toEmails": [
{
"email": "string",
"name": "string"
}
],
"textContent": "string",
"htmlContent": "string",
"messageIdHeader": "string",
"inReplyTo": "string",
"references": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"status": "pending"
}
]
}