Endpoint: /v1/streaming.new
Reference: https://docs.heygen.com/reference/new-session

A new parameter activity_idle_timeout has been added to the streaming.new endpoint.
It specifies the maximum idle time (in seconds) after the last user interaction before the session is marked as inactive.Default: 120 seconds, Range: 30 to 3600 seconds. This gives you greater control over session lifecycle management and resource usage.

Bring the full power of HeyGen's API to your favorite AI-enabled tools — like Cursor, Claude Desktop, and more — with zero manual implementation. Just install the HeyGen MCP Server and you're ready to go!

🔧 No need to write integration code
🧠 Works seamlessly with AI development environments
💡 Ideal for rapid prototyping and automation

Get started: https://docs.heygen.com/docs/heygen-mcp-server