Set the active persona for a specific conversation type.
cURL
curl --request POST \ --url https://api.zo.computer/personas/active/{persona_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "conversation_type": "<string>", "agent_id": "<string>" } '
{}
Zo API key (zo_sk_...)
Conversation type: 'main', 'greeting', 'sms', 'email', 'telegram', or 'schedule'
Agent ID when setting persona for scheduled tasks
Successful Response
The response is of type Response Setactivepersonafor · object.
Response Setactivepersonafor · object