curl --request POST \
--url https://api.example.com/admin/ai/prompts/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"languageID": 1,
"code": "<string>",
"usageTypeID": 123,
"promptText": "<string>",
"description": "<string>",
"changeNotes": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}Saves the AI Prompts and its value.
curl --request POST \
--url https://api.example.com/admin/ai/prompts/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"languageID": 1,
"code": "<string>",
"usageTypeID": 123,
"promptText": "<string>",
"description": "<string>",
"changeNotes": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.