curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/ai/suggest-template-value \
--header 'Content-Type: application/json' \
--data '
{
"fieldName": "<string>",
"currentValue": "<string>",
"purpose": "<string>",
"tones": [
"<string>"
],
"context": "<string>"
}
'{
"suggestions": [
{
"tone": "<string>",
"value": "<string>"
}
]
}Generates suggestions for a specific template field based on context and user input
curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/ai/suggest-template-value \
--header 'Content-Type: application/json' \
--data '
{
"fieldName": "<string>",
"currentValue": "<string>",
"purpose": "<string>",
"tones": [
"<string>"
],
"context": "<string>"
}
'{
"suggestions": [
{
"tone": "<string>",
"value": "<string>"
}
]
}Request body containing field name, current value, purpose, tones, and context
The name of the field to suggest a value for
The current value of the field
The purpose of the suggestion. This should be the goal that the suggestion should try to achieve.
The tones that the AI should respond with. Examples: ['friendly', 'professional', 'urgent']
The context in which the suggestion will be used.
The suggestions generated by AI by tones.
Show child attributes