Power Platform API Reference

Authentication - Get Access Token â–¼

Retrieve an OAuth 2.0 access token for Power Platform services.

POST https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
Content-Type: application/x-www-form-urlencoded

client_id={clientId}&
scope=https%3A%2F%2Fapi.powerplatform.com%2F.default&
client_secret={clientSecret}&
grant_type=client_credentials
Entities - List â–¼

Get a paginated list of entities (tables) in a Power Apps environment.

GET https://api.powerplatform.com/v1.0/environments/{environmentId}/entities
Authorization: Bearer {access_token}
Operations - Create Record â–¼

Create a new record in a specific entity.

POST https://api.powerplatform.com/v1.0/environments/{environmentId}/entities/{entityLogicalName}/records
Authorization: Bearer {access_token}
Content-Type: application/json

{
  "field1": "value1",
  "field2": 123,
  "field3": true
}
Utilities - Bulk Delete â–¼

Delete records matching a query in bulk (up to 5,000 per request).

POST https://api.powerplatform.com/v1.0/environments/{environmentId}/entities/{entityLogicalName}/records/batchDelete
Authorization: Bearer {access_token}
Content-Type: application/json

{
  "filter": "field1 eq 'obsolete'",
  "maxCount": 5000
}