---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/conversations-classic/reachability#article
headline: Reachability Indicator
description: The Reachability Indicator displays a user's status to other users. Learn how to enable the indicator and how to use it with the REST API and client SDKs.
url: https://www.twilio.com/docs/conversations-classic/reachability
inLanguage: en
dateModified: 2026-07-17T03:37:23.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Reachability Indicator

Your Conversations (classic) applications can display a chat user's online or offline status to other users of the application. This feature is called the Reachability Indicator, and the Conversations (classic) service automatically manages the online or offline state for each user if it is activated.

This feature also provides the User's reachability by Push Notification within the Conversations (classic) Service instance.

The reachability state is automatically updated and synchronized by the Conversations (classic) service, provided the feature is enabled. The feature is enabled on a "per Service instance" basis.

**Note:** Users exist within the scope of a Conversations (classic) Service instance. The Reachability indicators are also within the same scope.

## Enable the Reachability Indicator

Each Service instance can have Reachability enabled or disabled. The default is **disabled**. The reachability state will not be updated if the feature is disabled for a given Service instance. Once enabled, the state will update and synchronize.

You must set the `ReachabilityEnabled` property using the `Service Configuration` [REST resource](/docs/conversations-classic/api/service-configuration-resource) to configure the Reachability Indicator feature.

Enable the Reachability Indicator

```js
// Download the helper library from https://www.twilio.com/docs/node/install
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";

// Find your Account SID at twilio.com/console
// Provision API Keys at twilio.com/console/runtime/api-keys
// and set the environment variables. See http://twil.io/secure
// For local testing, you can use your Account SID and Auth token
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const apiKey = process.env.TWILIO_API_KEY;
const apiSecret = process.env.TWILIO_API_SECRET;
const client = twilio(apiKey, apiSecret, { accountSid: accountSid });

async function updateServiceConfiguration() {
  const configuration = await client.conversations.v1
    .services("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
    .configuration()
    .update({ reachabilityEnabled: true });

  console.log(configuration.chatServiceSid);
}

updateServiceConfiguration();
```

```python
# Download the helper library from https://www.twilio.com/docs/python/install
import os
from twilio.rest import Client

# Find your Account SID at twilio.com/console
# Provision API Keys at twilio.com/console/runtime/api-keys
# and set the environment variables. See http://twil.io/secure
# For local testing, you can use your Account SID and Auth token
api_key = os.environ["TWILIO_API_KEY"]
api_secret = os.environ["TWILIO_API_SECRET"]
account_sid = os.environ["TWILIO_ACCOUNT_SID"]
client = Client(api_key, api_secret, account_sid)

service_configuration = (
    client.conversations.v1.services("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
    .configuration()
    .update(reachability_enabled=True)
)

print(service_configuration.chat_service_sid)
```

```csharp
// Install the C# / .NET helper library from twilio.com/docs/csharp/install

using System;
using Twilio;
using Twilio.Rest.Conversations.V1.Service;
using System.Threading.Tasks;

class Program {
    public static async Task Main(string[] args) {
        // Find your Account SID at twilio.com/console
        // Provision API Keys at twilio.com/console/runtime/api-keys
        // and set the environment variables. See http://twil.io/secure
        // For local testing, you can use your Account SID and Auth token
        string apiKey = Environment.GetEnvironmentVariable("TWILIO_API_KEY");
        string apiSecret = Environment.GetEnvironmentVariable("TWILIO_API_SECRET");
        string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");

        TwilioClient.Init(apiKey, apiSecret, accountSid);

        var configuration = await ConfigurationResource.UpdateAsync(
            reachabilityEnabled: true, pathChatServiceSid: "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

        Console.WriteLine(configuration.ChatServiceSid);
    }
}
```

```java
// Install the Java helper library from twilio.com/docs/java/install

import com.twilio.Twilio;
import com.twilio.rest.conversations.v1.service.Configuration;

public class Example {
    // Find your Account SID at twilio.com/console
    // Provision API Keys at twilio.com/console/runtime/api-keys
    // and set the environment variables. See http://twil.io/secure
    // For local testing, you can use your Account SID and Auth token
    public static final String API_KEY = System.getenv("TWILIO_API_KEY");
    public static final String API_SECRET = System.getenv("TWILIO_API_SECRET");
    public static final String ACCOUNT_SID = System.getenv("TWILIO_ACCOUNT_SID");

    public static void main(String[] args) {
        Twilio.init(API_KEY, API_SECRET, ACCOUNT_SID);
        Configuration configuration =
            Configuration.updater("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").setReachabilityEnabled(true).update();

        System.out.println(configuration.getChatServiceSid());
    }
}
```

```go
// Download the helper library from https://www.twilio.com/docs/go/install
package main

import (
	"fmt"
	"github.com/twilio/twilio-go"
	conversations "github.com/twilio/twilio-go/rest/conversations/v1"
	"os"
)

func main() {
	// Find your Account SID at twilio.com/console
	// Provision API Keys at twilio.com/console/runtime/api-keys
	// and set the environment variables. See http://twil.io/secure
	// For local testing, you can use your Account SID and Auth token
	accountSid := os.Getenv("TWILIO_ACCOUNT_SID")
	apiKey := os.Getenv("TWILIO_API_KEY")
	apiSecret := os.Getenv("TWILIO_API_SECRET")
	client := twilio.NewRestClientWithParams(twilio.ClientParams{
		Username:   apiKey,
		Password:   apiSecret,
		AccountSid: accountSid,
	})

	params := &conversations.UpdateServiceConfigurationParams{}
	params.SetReachabilityEnabled(true)

	resp, err := client.ConversationsV1.UpdateServiceConfiguration("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
		params)
	if err != nil {
		fmt.Println(err.Error())
		os.Exit(1)
	} else {
		if resp.ChatServiceSid != nil {
			fmt.Println(*resp.ChatServiceSid)
		} else {
			fmt.Println(resp.ChatServiceSid)
		}
	}
}
```

```php
<?php

// Update the path below to your autoload.php,
// see https://getcomposer.org/doc/01-basic-usage.md
require_once "/path/to/vendor/autoload.php";

use Twilio\Rest\Client;

// Find your Account SID at twilio.com/console
// Provision API Keys at twilio.com/console/runtime/api-keys
// and set the environment variables. See http://twil.io/secure
// For local testing, you can use your Account SID and Auth token
$apiKey = $_ENV["TWILIO_API_KEY"];
$apiSecret = $_ENV["TWILIO_API_SECRET"];
$sid = $_ENV["TWILIO_ACCOUNT_SID"];
$twilio = new Client($apiKey, $apiSecret, $sid);

$service_configuration = $twilio->conversations->v1
    ->services("ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
    ->configuration()
    ->update(["reachabilityEnabled" => true]);

print $service_configuration->chatServiceSid;
```

```ruby
# Download the helper library from https://www.twilio.com/docs/ruby/install
require 'twilio-ruby'

# Find your Account SID at twilio.com/console
# Provision API Keys at twilio.com/console/runtime/api-keys
# and set the environment variables. See http://twil.io/secure
# For local testing, you can use your Account SID and Auth token
api_key = ENV['TWILIO_API_KEY']
api_secret = ENV['TWILIO_API_SECRET']
account_sid = ENV['TWILIO_ACCOUNT_SID']
@client = Twilio::REST::Client.new(api_key, api_secret, account_sid)

configuration = @client
                .conversations
                .v1
                .services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                .configuration
                .update(reachability_enabled: true)

puts configuration.chat_service_sid
```

```bash
# Install the twilio-cli from https://twil.io/cli

twilio api:conversations:v1:services:configuration:update \
   --chat-service-sid ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
   --reachability-enabled
```

```bash
curl -X POST "https://conversations.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Configuration" \
--data-urlencode "ReachabilityEnabled=true" \
-u $TWILIO_API_KEY:$TWILIO_API_SECRET
```

```json
{
  "chat_service_sid": "ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "default_conversation_creator_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "default_conversation_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "default_chat_service_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "reachability_enabled": true,
  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration",
  "links": {
    "notifications": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Notifications",
    "webhooks": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Webhooks"
  }
}
```

If you choose to enable Reachability Indicators and later wish to return to `disabled`, set the `ReachabilityEnabled` property back to `false.`

## User Reachability Properties

The Reachability indicators are exposed for Users in two places:

* REST API - [Users resource](/docs/conversations-classic/api/user-resource)
* Client SDKs - User objects

### REST API

The following *read-only* properties within the [Users REST resource](/docs/conversations-classic/api/user-resource#user-properties) provide Reachability information for Users:

* `is_online`
* `is_notifiable`

These properties are set by the Conversations (classic) system if the Reachability Indicator feature is enabled for a User's [Service](/docs/conversations-classic/fundamentals#conversation-services-and-messaging-services-in-conversations) instance.

**Note:** These properties can be `null` under the following conditions:

* The Reachability Indicator feature is *disabled* for the Service Instance
* The User has not been online since the Reachability indicator has been *enabled*
* `LIST GET` resource representations only have a `true` or `false` value for specific `GET` requests

Please see the REST [Users resource](/docs/conversations-classic/api/user-resource) documentation for more information.

### Client SDKs

Within the Conversations (classic) Client SDKs, the Reachability Indicator properties are exposed in the `User` objects.

Real-time updates to other Users' Reachability Indicator states are communicated via the `update` event mechanism for subscribed User objects. Please see the specific SDK API documentation for details, as each SDK/platform handles this `update` a little differently.

An indicator of your Service instance's Reachability status (`reachability_enabled` ) is also exposed at the SDK client level.

The *read only* client SDK properties exposed are:

* `ConversationsClient.reachabilityEnabled`
* `User.isOnline`
* `User.isNotifiable`

**Note:** The above are representations. The specifics of how these properties are accessed are distinct for each language/SDK.

**Note:** These user properties are `read only` and cannot be set. Conversations (classic) will update these settings and synchronize them as necessary. The Service Configuration REST resource manages the Service-level Reachability feature from the back-end code.

```js title="Handle Reachability updates" description="Handle an UpdateReason change and process the Reachability Indicators"
// function called after client init to set up event handlers
function registerEventHandlers() {
  user = conversationsClient.user;
  // Register User updated event handler
  user.on('updated', function(event) {
    handleUserUpdate(event.user, event.updateReasons)
  });
}

// function to handle User updates
function handleUserUpdate(user, updateReasons) {
  // loop over each reason and check for reachability change
  updateReasons.forEach(function(reason) {
    if (reason == 'online') {
      //do something
    }
  });
}
```
