Connect your Microsoft Copilot Studio agent to external applications and enterprise systems using REST APIs. Learn how to import an OpenAPI specification, configure authentication, expose API operations as agent tools, and enable your AI assistant to retrieve real-time data and perform business actions securely.
REST API tools allow Microsoft Copilot Studio agents to securely connect with external applications, retrieve live business data, and perform actions such as creating records, updating information, or accessing enterprise systems.
REST API Tools are currently available as a Preview feature in Microsoft Copilot Studio.
Use production-ready capabilities if you're building enterprise solutions for live environments.
Upload an OpenAPI JSON document describing API endpoints, request parameters, response models, and supported operations.
Configure how your agent securely connects to the API using API Keys, OAuth 2.0, or no authentication.
Well-written descriptions help Copilot determine exactly when each API should be used during conversations.
Suitable for public APIs that don't require user credentials.
Users provide an API Key at runtime. The key can be passed in either the request header or query string.
Enterprise authentication supporting Client ID, Client Secret, Authorization URL, Token URL, Refresh URL and Scopes.
Consider an internal ticketing application named SunnyADO.
Copilot automatically selects the appropriate REST API operation, authenticates the user, executes the request, and returns the result.