How to create/construct endpoint URL/API for Copilot agents to call in Postman

Prema 0 Reputation points
2025-05-22T20:44:38.9366667+00:00

I have created and published an copilot agent and have my Client id, Client secret, tenant id, environment id, bot id with me. Kindly provide me the steps on how to construct the endpoint url to get the list of agents created in my copilot studio to use in Postman app.

Microsoft Copilot Other
{count} votes

1 answer

Sort by: Most helpful
  1. Smit Agrawal 95 Reputation points Microsoft External Staff
    2025-05-26T11:57:42.31+00:00

    To list Copilot agents via Postman, use the Microsoft Power Platform API. First, acquire an access token using your Client ID, Client Secret, and Tenant ID via Azure AD token endpoint. Then, call the endpoint: https://api.bap.microsoft.com/providers/Microsoft.BusinessAppPlatform/environments/{environmentId}/copilotAgents?api-version=2023-10-01-preview Replace {environmentId} with your actual environment ID. Use the token in the Authorization header as Bearer <token>. This will return the list of agents created in your Copilot Studio. Ensure your app registration has the necessary API permissions for Power Platform

    Thanks,

    Smit Agrawal


    If the response is helpful, please click on "upvote" button. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.