API ReferenceEmail
Get Email Thread by ID
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
threadId*string
Thread ID
Format
uuidResponse Body
application/json
curl -X GET "https://samva.app/api/v1/email/threads/:threadId?threadId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "string",
"title": "string",
"description": "string",
"status": "string",
"priority": 0,
"urgency": "string",
"complexity": "string",
"messageCount": 0,
"participantCount": 0,
"emailCount": 0,
"lastActivityAt": "2019-08-24T14:15:22Z",
"lastHumanActivityAt": "2019-08-24T14:15:22Z",
"startedAt": "2019-08-24T14:15:22Z",
"resolvedAt": "2019-08-24T14:15:22Z",
"participants": [
{
"participantId": "string",
"participantType": "string",
"role": "string",
"joinedAt": "string",
"leftAt": "string"
}
],
"metadata": {
"property1": null,
"property2": null
}
}