curl --request POST \
--url https://app.freyavoice.ai/api/v2/personas/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"count": 3
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
]
}
]
}
}
}Generates AI-powered persona previews based on a prompt.
curl --request POST \
--url https://app.freyavoice.ai/api/v2/personas/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"count": 3
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
]
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.