> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.
# 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
**`addressId`** `string` — required
Server-assigned ID of the address.
---
**`conversationManager`** `ConversationsProvider` — required
Provider used to load and manage conversations for this address.
---
**`addressProvider`** `AddressProvider
` — required
Provider used to load directory entries for this address.
---
## **Properties**
**`history$`** `Observable> | undefined>`
Observable of call history for this address. Lazily loads conversation data. See [`AddressHistory`](/docs/browser-sdk/v4/reference/interfaces/address-history).
---
**`textMessages$`** `Observable> | undefined>`
Observable of text messages for this address. Lazily loads conversation data. See [`TextMessage`](/docs/browser-sdk/v4/reference/interfaces/text-message).
---
## **Accessors**
#### [activity\$](/docs/browser-sdk/v4/reference/address/activity\$)
Observable of active call states for this address.
#### [channels\$](/docs/browser-sdk/v4/reference/address/channels\$)
Observable of available communication channels (audio, video, messaging).
#### [coverUrl\$](/docs/browser-sdk/v4/reference/address/cover-url\$)
Observable of the cover image URL.
#### [createdAt](/docs/browser-sdk/v4/reference/address/created-at)
ISO timestamp of when the address was created.
#### [defaultChannel](/docs/browser-sdk/v4/reference/address/default-channel)
Default communication channel URI (video for rooms, audio otherwise).
#### [destroyed\$](/docs/browser-sdk/v4/reference/address/destroyed\$)
Observable that emits when the instance is destroyed
#### [displayName\$](/docs/browser-sdk/v4/reference/address/display-name\$)
Observable of the human-readable display name.
#### [history](/docs/browser-sdk/v4/reference/address/history)
Collection of call history entries for this address, with pagination support.
#### [id](/docs/browser-sdk/v4/reference/address/id)
Unique address identifier.
#### [locked\$](/docs/browser-sdk/v4/reference/address/locked\$)
Observable indicating whether the address (room) is locked.
#### [name](/docs/browser-sdk/v4/reference/address/name)
Address name (resource identifier).
#### [previewUrl\$](/docs/browser-sdk/v4/reference/address/preview-url\$)
Observable of the preview image URL.
#### [resourceId\$](/docs/browser-sdk/v4/reference/address/resource-id\$)
Observable of the underlying resource ID.
#### [textMessage](/docs/browser-sdk/v4/reference/address/text-message)
Collection of text messages for this address, with pagination support.
#### [type\$](/docs/browser-sdk/v4/reference/address/type\$)
Observable of the resource type (e.g. `'room'`, `'subscriber'`).
## **Methods**
#### [destroy](/docs/browser-sdk/v4/reference/address/destroy)
Cleans up subscriptions and subjects owned by this instance.
#### [sendText](/docs/browser-sdk/v4/reference/address/send-text)
Sends a text message to this address.
> Represents a contact or room in the directory.
## Docs
- [activity$](https://signalwire.com/docs/browser-sdk/reference/address/activity$.md): Observable of active call states for this address.
- [channels$](https://signalwire.com/docs/browser-sdk/reference/address/channels$.md): Observable of available communication channels (audio, video, messaging).
- [coverUrl$](https://signalwire.com/docs/browser-sdk/reference/address/cover-url$.md): Observable of the cover image URL.
- [createdAt](https://signalwire.com/docs/browser-sdk/reference/address/created-at.md): ISO timestamp of when the address was created.
- [defaultChannel](https://signalwire.com/docs/browser-sdk/reference/address/default-channel.md): Default communication channel URI (video for rooms, audio otherwise).
- [destroy](https://signalwire.com/docs/browser-sdk/reference/address/destroy.md): Destroys the instance, clearing timers and releasing all subscriptions.
- [destroyed$](https://signalwire.com/docs/browser-sdk/reference/address/destroyed$.md): Observable that emits when the instance is destroyed
- [displayName$](https://signalwire.com/docs/browser-sdk/reference/address/display-name$.md): Observable of the human-readable display name.
- [history](https://signalwire.com/docs/browser-sdk/reference/address/history.md): Collection of call history entries for this address, with pagination support.
- [id](https://signalwire.com/docs/browser-sdk/reference/address/id.md): Unique address identifier.
- [locked$](https://signalwire.com/docs/browser-sdk/reference/address/locked$.md): Observable indicating whether the address (room) is locked.
- [name](https://signalwire.com/docs/browser-sdk/reference/address/name.md): Address name (resource identifier).
- [previewUrl$](https://signalwire.com/docs/browser-sdk/reference/address/preview-url$.md): Observable of the preview image URL.
- [resourceId$](https://signalwire.com/docs/browser-sdk/reference/address/resource-id$.md): Observable of the underlying resource ID.
- [sendText](https://signalwire.com/docs/browser-sdk/reference/address/send-text.md): Sends a text message to this address.
- [textMessage](https://signalwire.com/docs/browser-sdk/reference/address/text-message.md): Collection of text messages for this address, with pagination support.
- [type$](https://signalwire.com/docs/browser-sdk/reference/address/type$.md): Observable of the resource type (e.g.