Skip to main content
POST
Generate suggestions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is an access key.

Example: Authorization: Bearer sk-proj-XXXXXXXXX

Body

application/json
userProfile
object
required

A user profile; this will represent the profile that will receive the generated suggestions.

personaProfile
object
required

A persona profile; this will represent the profile that supposed to receive the suggestions

language
enum<string>
required

The language used to generate the suggestions.

Available options:
EN,
EN_GB,
FR,
FR_BE,
RO,
NL,
ES,
DE,
DE_CH,
DE_AT,
IT,
ES_LATAM,
BG,
HE,
JA,
NL_BE,
EN_AU,
PT_PT,
PT_BR,
SV_SE,
DA_DK,
FI_FI,
PL_PL,
LT_LT,
NB_NO,
NN_NO,
SL_SI,
HU,
HU_HU,
CS_CZ,
EL_GR,
EL_GR_LATIN,
EL_GR_GREEK,
HR_HR,
TR_TR,
EN_IE,
AF_ZA,
ZU_ZA,
LV_LV,
SK_SK,
GA_IE,
SR_RS,
ET_EE,
EN_CA,
FR_CA,
RU_RU,
UA_UA
messages
object[]
required

A list of message describing the history of the conversation

Response

200 - */*

OK

Represents a list of suggestions generated by our platform.

suggestions
string[]
required

An array of 3 suggestions as text.

Example: