Skip to content

Create Email Content

POST
/v1/email/create

Create Email Content based on context

Authorizations

Request Body required

Creating email content

object
sender
required
string
John
receiver
required
string
Doe
context
required
string
Cold Sales
stream
boolean
true
messages
Array<object>
object
role
string
user
content
string
create content within 100 words
contextfields
Array<object>
object
name
string
sender_org
description
string
Organization of the sender
value
string
acme_inc
conversationhistory
string
Dear John, We are interested but the cost is high - Doe
contentlength
string
short
tone
string
formal

Responses

200

SUCCESSFUL_OPERATION

401

INVALID_TOKEN | NO_TOKEN

422

VALIDATION_ERROR | INVALID_DATA

429

RATE_LIMIT_EXCEEDED | CREDITS_LOW

500

PROCESSING_ERROR

504

REQUEST_TIMEOUT