> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# Address

> Represents a contact or room in the directory.

An `Address` represents a single directory entry — a contact, room, or any
other dialable endpoint exposed by the user's fabric. Address instances
are produced by the [`Directory`](/docs/browser-sdk/v4/reference/interfaces/directory)
returned from
[`SignalWire.directory$`](/docs/browser-sdk/v4/reference/signalwire/directory\$);
applications do not construct them directly.

Beyond identity metadata (display name, type, cover/preview URLs), `Address`
exposes lazy observables for the entry's interaction history
([`history$`](#history\$)) and text messages
([`textMessages$`](#text-messages\$)). Subscribing to either kicks off the
underlying REST fetch and pages additional results in on demand. Use
[`textMessage`](#textmessage) to send a new message to the address.

The reactive accessors (`displayName$`, `type$`, `locked$`, etc.) emit when
the server pushes an update for this address; their snapshot counterparts
(`displayName`, `type`, `locked`) return the most recent cached value. The
instance is destroyed when the parent directory page is released.

## **Extends**

* `Destroyable`

## **Constructors**

### Constructor

```ts
new Address(addressId, conversationManager, addressProvider): Address
```

#### Parameters

Server-assigned ID of the address.

Provider used to load and manage conversations for this address.

Provider used to load directory entries for this address.

## **Properties**

Observable of call history for this address. Lazily loads conversation data. See [`AddressHistory`](/docs/browser-sdk/v4/reference/interfaces/address-history).

Observable of text messages for this address. Lazily loads conversation data. See [`TextMessage`](/docs/browser-sdk/v4/reference/interfaces/text-message).

## **Accessors**

Observable of active call states for this address.

Observable of available communication channels (audio, video, messaging).

Observable of the cover image URL.

ISO timestamp of when the address was created.

Default communication channel URI (video for rooms, audio otherwise).

Observable that emits when the instance is destroyed

Observable of the human-readable display name.

Collection of call history entries for this address, with pagination support.

Unique address identifier.

Observable indicating whether the address (room) is locked.

Address name (resource identifier).

Observable of the preview image URL.

Observable of the underlying resource ID.

Collection of text messages for this address, with pagination support.

Observable of the resource type (e.g. `'room'`, `'subscriber'`).

## **Methods**

Cleans up subscriptions and subjects owned by this instance.

Sends a text message to this address.