SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Default Inactive Timer in Twilio Conversations Classic

Issue

In Twilio Conversations Classic, the "default inactive timer" determines how long a conversation remains inactive before it is automatically transitioned to an inactive state. There may be scenarios where you want to disable this timer entirely. This article explains how to remove (disable) the default inactive timer for a Conversation or for your account. Below you will find a list of the most common symptoms:

  • You want to prevent conversations from being automatically marked as inactive.
  • You are unsure how to clear or disable the "default inactive timer" setting.
  • You may encounter errors if the field is left blank or set incorrectly.

 

Product

Twilio Conversations

 

Environment

legacy Twilio Console

 

Resolution

To remove or disable the default inactive timer, set its value to PT0S. This value represents a duration of zero seconds, which effectively disables the timer.

 

Steps

Via Twilio Console

  1. Navigate to the Conversations Classic settings for your account or subaccount.
  2. Locate the "Default Inactive Timer" field.
  3. Enter PT0S in the field.
  4. Save your changes.

 

Via API

  • When updating the timer using the Configuration API, set the default_inactive_timer parameter to PT0S.

Example:

curl -X POST "https://conversations.twilio.com/v1/Configuration" \
--data-urlencode "DefaultInactiveTimer=PT0S" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

 

Additional Information

  • Setting the timer to PT0S is the recommended way to remove or disable the default inactive timer. Leaving the field blank or using an invalid value may result in errors.
  • If you encounter a 401 error or other permission issues, ensure you are authenticated and have the necessary permissions for the account or subaccount.

The following are references to useful documents:

Have more questions? Submit a request
Powered by Zendesk