Skip to main content
POST
Generate an AI reply to a message using the shared email prompt system.

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

Reply generation parameters

Request body for generating an AI reply to a message

companyId
string
required

Company ID

originalContent
string

Content of the original message

originalSubject
string

Subject of the original message

replyClassification
string

Classification type for the reply

replyGuidance
string

Additional guidance for generating the reply

senderProfileId
string

Sender profile ID for context

Response

AI-generated reply

AI-generated reply

content
string

Generated reply content

subject
string

Generated reply subject