cURL
curl --request GET \ --url https://api.decodahealth.com/email/threads/{thread_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "id": "<string>", "subject": "<string>", "snippet": "<string>", "isRead": true, "isStarred": true, "isArchived": true, "firstMessageDate": "2023-11-07T05:31:56Z", "lastMessageDate": "2023-11-07T05:31:56Z", "createdDate": "2023-11-07T05:31:56Z", "updatedDate": "2023-11-07T05:31:56Z", "messages": [] }
Get a thread with all its messages.
The tenant you are making this request on behalf of
Your api key
Successful Response
Full email thread with messages.
Show child attributes