Skip to main content
POST
/
email
/
threads
/
{thread_id}
/
unread
Mark Unread
curl --request POST \
  --url https://api.decodahealth.com/email/threads/{thread_id}/unread \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "success": true,
  "threadId": "<string>",
  "action": "<string>",
  "newValue": true
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

thread_id
string
required

Response

Successful Response

Response for thread actions (star, archive, etc.).

success
boolean
required
threadId
string
required
action
string
required
newValue
boolean
required