Bot Framework REST APIs

The Bot Framework REST APIs enable you to build bots that exchange messages with channels configured in the Bot Framework Portal, store and retrieve state data, and connect your own client applications to your bots. All Bot Framework services use industry-standard REST and JSON over HTTPS.

Build a bot

You can create a bot with any programming language by using the Bot Connector service to exchange messages with channels configured in the Bot Framework Portal. You can use the Bot State service to store and retrieve state data that is related to conversations that your bot conducts using the Bot Connector service.

Tip

The Bot Framework provides client libraries that can be used to build bots in either C# or Node.js. To build a bot using C#, use the Bot Builder SDK for C#. To build a bot using Node.js, use the Bot Builder SDK for Node.js.

To learn more about building bots using the Bot Connector service and the Bot State service, see Key concepts.

Build a client

You can enable your own client application to communicate with your bot by using the Direct Line API. The Direct Line API implements an authentication mechanism that uses standard secret/token patterns and provides a stable schema, even if your bot changes its protocol version. For details about using the Direct Line API to enable communication between a client and your bot, see Key concepts.