REST API GET Caller
Makes HTTP GET requests with configurable URL, headers, query parameters, and authentication. Includes a PowerShell fallback.
Sign in or create a free account to copy this script.
Provided as-is, without warranty of any kind. Review and test each pattern in a non-production environment before deploying it to live automations. See our Terms.
Problem this solves
PAD has no native REST client; users cobble together web actions or PowerShell with inconsistent results.
Usage Notes
- 1.Build query parameters directly into the URL string.
- 2.Set FailOnErrorStatus: False so PAD does not throw on 4xx/5xx.
- 3.For Bearer token auth, pass Authorization: Bearer ${varAccessToken} in CustomHeaders.
- 4.If the native GET action fails, use the PowerShell Invoke-RestMethod fallback.
- 5.Pair with JSON Response Parser to extract fields from varResponse.
Requirements
- Power Automate Desktop 2.30+
- Variables: varApiUrl (Text), varAccessToken (Text, optional), varResponse (Text), varStatusCode (Numeric)
Dependencies
- JSON Response Parser