Skip to main content

Create a Conversation with Custom Duration and Timeout

1

Step 1: Create Your Conversation

In this example, we will use stock face ID r90bbd427f71 (Anna) and stock PAL ID pcb7a34da5fe (Sales Development Rep).
Use the following request body example:
cURL
Replace <api_key> with your actual API key. You can generate one in the PAL Maker.
The request example above includes the following customizations:
The maximum max_call_duration you can set depends on your plan. If you request a value higher than your plan allows, it is automatically capped to your plan’s maximum (the conversation will end at the plan limit even if you requested longer). Check the Maximum conversation duration row on the pricing page for your plan’s limit, or upgrade your plan to increase it.
2

Step 2: Join the Conversation

To join the conversation, click the link in the conversation_url field from the response:
Based on the call duration and timeout settings above:
  • The conversation will automatically end after 1800 seconds (30 minutes), regardless of activity.
  • If the participant leaves the conversation, it will end 60 seconds after they disconnect.
  • If the participant is present but inactive (e.g., not speaking or engaging), the conversation ends after 120 seconds of inactivity.