Skip to main content
POST
Edit an existing reply draft using AI based on user instructions.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

messageId
string
required

Body

application/json

Edit reply parameters

Request body for editing a reply using AI

companyId
string
required

Company ID

currentContent
string
required

Current draft content

editInstructions
string
required

Instructions for editing the reply

currentSubject
string

Current draft subject

originalContent
string

Content of the original message

originalSubject
string

Subject of the original message

Response

AI-edited reply

AI-generated reply

content
string

Generated reply content

subject
string

Generated reply subject