Microsoft Power Platform API reference
Power Platform API is a RESTful web API that enables you to access Power Platform services and resources.
To use the Power Platform API:
Call a REST API method
To read from or write to a resource such as a user or an email message, you construct a request that looks like the following:
{HTTP method} https://api.powerplatform.com/{namespace}/{resource}?api-version={version}
The components of a request include:
- {HTTP method} - The HTTP method used on the request to Power Platform API.
- {namespace} - The logical grouping of capabilities you're referencing.
- {resource} - The resource in Power Platform API that you're referencing.
- {version} - The version of the Power Platform API you're using.
HTTP methods
Power Platform API uses the HTTP method on your request to determine what your request is doing. The API supports the following methods.
Method | Description |
---|---|
GET | Read data from a resource. |
POST | Create a new resource, or perform an action. |
PATCH | Update a resource with new values. |
PUT | Replace a resource with a new one. |
DELETE | Remove a resource. |
- For the CRUD methods
GET
andDELETE
, no request body is required. - The
POST
,PATCH
, andPUT
methods require a request body, usually specified in JSON format, that contains additional information, such as the values for properties of the resource.
Namespace
The Power Platform API defines most of its resources, methods, and enumerations in namespaces. Each namespace is a logical grouping of capabilities such as Licensing for Billing Policy administration, and AppManagement for managing installation for Microsoft-provided application packages in Dataverse. More namespaces will be added over time, until full parity is reached in Power Platform API for what an administrator can perform in Power Platform admin center. From that point onward, new features will always be made available API-first.
Resource
A resource can either be tenant level or environment level:
When a resource is at the tenant level, the tenantID is inferred using the OAuth bearer token and the call is routed to the Azure region that matches your tenant's physical address. An example tenant level resource call would be:
GET https://api.powerplatform.com/licensing/billingPolicies/{billingPolicyId}?api-version=2022-03-01-preview
When a resource is at the environment level, the tenantID is still inferred as mentioned above but an environmentID must also be specified in the path before you can interact with the resource. An example environment level resource call would be:
GET https://api.powerplatform.com/appmanagement/environments/{environmentId}/operations/{operationId}?api-version=2022-03-01-preview
For details about permissions, go to Permissions reference.
Version
For information about available API versions, see Versioning and support.
Tutorials for using Power Platform API
You might be wondering how do I make use of these REST endpoints in an end to end, real world scenario? We're so glad you asked! Use the following tutorials:
- Tutorial: Create a daily capacity report
- Tutorial: Install an application to a target environment
- Tutorial: Create, update, and list Environment Management Settings
Next steps
You're ready to get up and running with Power Platform API. Go to Getting started with Power Platform API.