Skype Web SDK

Applies to: Skype for Business 2015, Skype for Business Online

The Skype Developer Platform for Web ("Skype Web SDK") is a set of JavaScript Web APIs, and HTML controls that enable you to build web experiences that seamlessly integrate a wide variety of real-time collaboration models leveraging Skype for Business services and the larger Skype network. It supports multiple core collaboration services like presence, chat, audio, and video, enabling web experiences across a broad spectrum of users, platforms, and devices.

The Skype Web SDK documentation consists of the following sections:

Skype for Business Online Retirement

Skype for Business (SfB) Online retired in July 2021. The retirement of SfB Online reduced the market of Skype tenants for the SfB Web SDK, and many SfB organizations are migrating to Teams.

Azure Communication Services (ACS) is a cloud-based communications service that lets you add voice, video, chat, and telephony to your apps. Azure communication services allow developers to extend their applications with Teams interoperability, where users communicate as guests (Teams anonymous users) or communicate as Teams users. We encourage implementers of the SfB Web SDK to transition to Azure Communication Services and Microsoft Graph APIs. Microsoft Graph APIs control behavior specifically in the M365 ecosystems, such as presence. It also provides chat support for Teams users.

The table below maps SfB Web SDK sub-systems to Graph and ACS capabilities.

SfB SDK System Description Alternative
Presence Use presence information to help users decide whether and how they should person other users. Graph Presence APIs
Local user Use the mePerson object to represent the currently signed-in user. Graph User APIs
Conversations Use conversation services to determine the ways for communication between persons. ACS Calling SDK for voice/video and Graph for chat
Listening for and generating presence events Use events to get a person's current presence. Graph Presence APIs
Persons Use person objects to represent individual users. Graph User APIs
Devices Select Cameras, Microphones, and Speakers to use for audio and video conversations. ACS Calling SDK

Azure Communication Service SDKs are designed with a substantially different API model than SfB Web, and we do not host the SDK on a content delivery network (CDN). Your web application hosts the SDK, and you have the choice of using one of several SDKs listed below. The core Calling and Chat SDKs have essentially no GUI and allow for robust customization of the end-user experience. But for most SfB Web SDK implementations, using the open-source composites is recommended to reduce the amount of UI development required by replacing SfB.

SDK Implementation Complexity Customization Ability Calling Chat
Core SDKs High High
Base Components Medium Medium
Open-Source Composite Low Low

To use Graph and ACS SDKs as an SfB Web SDK replacement, you will leverage these features:

Product Feature Available
Graph Log-in a user to M365
Graph Set presence
Graph Get Presence
Graph Send and receive chat messages
Azure Create an ACS token for an M365 user
Azure M365 user can call a user in Teams
Azure M365 user can join a Teams meeting, interface with the video, audio, and chat channels
Azure M365 user can initiate PSTN calls from Teams-allocated phone numbers
Azure M365 user can receive PSTN calls from Teams-allocated phone numbers