Conversations
POST /v2/conversations
Changed onThis endpoint starts a real-time video conversation with your AI face, powered by a PAL that allows it to see, hear, and respond like a human.
Request
- Base URLhttps://tavusapi.com
- URLhttps://tavusapi.com/v2/conversations
- AuthAPI key in header x-api-key
Request body
Example request
{
"face_id": "rc9cff32ceba",
"pal_id": "pcb7a34da5fe",
"callback_url": "https://yourwebsite.com/webhook",
"conversation_name": "Improve Sales Technique",
"conversational_context": "I want to improve my sales techniques. Help me practice handling common objections from clients and closing deals more effectively.",
"custom_greeting": "Hey there!",
"memory_stores": [
"user_12345-p123456789ab"
],
"participant_tags": [
"user_12345"
],
"document_ids": [
"doc_1234567890"
],
"document_retrieval_strategy": "balanced",
"document_tags": [
"sales",
"marketing"
],
"meeting_url": "https://meet.google.com/xgq-epxn-ccp",
"max_participants": 2,
"policy": "eu",
"objectives_id": "o12345",
"properties": {
"max_call_duration": 3600,
"participant_left_timeout": 60,
"participant_absent_timeout": 300,
"enable_recording": true,
"auto_start_recording": true,
"enable_closed_captions": true,
"apply_greenscreen": true,
"language": "multilingual",
"languages": [
"en",
"es",
"pt"
],
"recording_s3_bucket_name": "conversation-recordings",
"recording_s3_bucket_region": "us-east-1",
"recording_storage": {
"provider": "s3",
"bucket_name": "conversation-recordings",
"bucket_region": "us-east-1",
"assume_role_arn": "arn:aws:iam::123456789012:role/TavusRecordingWriter",
"key_template": "recordings/{conversation_id}/{epoch_ms}.mp4",
"project_id": "my-gcp-project",
"workload_identity_provider": "projects/123456/locations/global/workloadIdentityPools/tavus-pool/providers/tavus-cf-worker",
"service_account_email": "tavus-recording-writer@my-gcp-project.iam.gserviceaccount.com",
"storage_account": "myrecordingsaccount",
"container": "conversation-recordings",
"tenant_id": "11111111-2222-3333-4444-555555555555",
"client_id": "66666666-7777-8888-9999-000000000000"
}
}
}Response
Example response
{
"conversation_id": "c123456",
"conversation_name": "A Meeting with Hassaan",
"conversation_url": "https://tavus.daily.co/c123456",
"status": "active",
"callback_url": "sample.com/callback",
"created_at": "<string>",
"meeting_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
// - info
request property
deprecated - info
request property
/deprecated - info
request property
//deprecated
- info