POST
/
emails
/
{emailId}
/
reply
JavaScript
import AIInbx from 'aiinbx';

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

const response = await client.emails.reply('emailId', { from: 'dev@stainless.com', html: 'html' });

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

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Path Parameters

emailId
string
required

The ID of the email being replied to

Body

application/json

Response

200
application/json

Successful response

The response is of type object.