<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SubscriptionDelegate](./sip.js.subscriptiondelegate.md)

## SubscriptionDelegate interface

Subscription delegate.

<b>Signature:</b>

```typescript
export interface SubscriptionDelegate 
```

## Methods

|  Method | Description |
|  --- | --- |
|  [onNotify(request)](./sip.js.subscriptiondelegate.onnotify.md) | Receive NOTIFY request. This includes in dialog NOTIFY requests only. Thus the first NOTIFY (the subscription creating NOTIFY) will not be provided. https://tools.ietf.org/html/rfc6665\#section-4.1.3 |
|  [onRefresh(request)](./sip.js.subscriptiondelegate.onrefresh.md) | Sent a SUBSCRIBE request. This includes "auto refresh" in dialog SUBSCRIBE requests only. Thus SUBSCRIBE requests triggered by calls to <code>refresh()</code> or <code>subscribe()</code> will not be provided. Thus the first SUBSCRIBE (the subscription creating SUBSCRIBE) will not be provided. |
|  [onTerminated()](./sip.js.subscriptiondelegate.onterminated.md) | Subscription termination. This includes non-NOTIFY termination causes only. Thus this will not be called if a NOTIFY is the cause of termination. https://tools.ietf.org/html/rfc6665\#section-4.4.1 |

