Skip to main content
POST
/
threads
/
{threadId}
/
forward
JavaScript
import AIInbx from 'aiinbx';

const client = new AIInbx({
  apiKey: 'My API Key',
});

const response = await client.threads.forward('threadId', { to: 'dev@stainless.com' });

console.log(response.emailId);
{
  "emailId": "<string>",
  "threadId": "<string>",
  "messageId": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Path Parameters

threadId
string
required

The ID of the thread to forward

Body

application/json
to
required
cc
bcc
note
string
Maximum length: 2000
includeAttachments
boolean
default:true
from
string<email>
from_name
string
Maximum length: 320
is_draft
boolean
default:false

Response

Successful response

emailId
string
required
threadId
string
required
messageId
string
required