> 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. # unreceive > Unsubscribe from inbound event contexts. [receive]: /docs/server-sdks/reference/typescript/relay/client/receive [on-call]: /docs/server-sdks/reference/typescript/relay/client/on-call Unsubscribe from contexts for inbound call and message events. Sends a `signalwire.unreceive` request to stop receiving events on the specified contexts. This is the inverse of [`receive()`][receive]. After unsubscribing, inbound calls routed to those contexts will no longer trigger the [`onCall()`][on-call] handler on this client. ## **Parameters** **`contexts`** `string[]` — required List of context names to unsubscribe from. If the list is empty, the method returns immediately without sending a request. --- ## **Returns** `Promise` ## **Example** ```typescript {13} import { RelayClient } from '@signalwire/sdk'; const client = new RelayClient({ project: process.env.SIGNALWIRE_PROJECT_ID!, token: process.env.SIGNALWIRE_API_TOKEN!, contexts: ['sales', 'support', 'billing'] }); client.onCall(async (call) => { await call.answer(); // Dynamically unsubscribe from "billing" after the first call await client.unreceive(['billing']); console.log('Unsubscribed from billing context'); await call.hangup(); }); await client.run(); ``` > Unsubscribe from inbound event contexts.