Skip to main content
POST
/
email
/
threads
/
{thread_id}
/
forward
Forward Thread
curl --request POST \
  --url https://api.decodahealth.com/email/threads/{thread_id}/forward \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "to": [
    "<string>"
  ],
  "bodyHtml": "<string>",
  "bodyText": "<string>"
}
'
{
  "success": true,
  "messageId": "<string>",
  "threadId": "<string>",
  "error": "<string>"
}

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

Body

application/json

Request to forward an email.

to
string[]
required

Forward recipients

Minimum array length: 1
bodyHtml
string | null

Additional message

bodyText
string | null

Response

Successful Response

Response after sending an email.

success
boolean
required
messageId
string | null
threadId
string | null
error
string | null