Courseiva

UiPath-ADPv1 · domain

API Automation

API Automation in UiPath-ADPv1 covers consuming and securing REST APIs from Studio and Orchestrator. Questions present realistic scenarios: large JSON payloads, expiring Bearer tokens, OAuth 2.0 client-secret handling, and extracting values from deeply nested responses using the HTTP Request activity and JSON activities.

15 questions2 easy9 medium4 hard

Focused practice

Practice API Automation questions

Scored sessions drawing only from this domain — pick a length below.

What this domain covers

What to know about API Automation

Be able to call a protected REST endpoint with HTTP Request, authenticate correctly, and extract nested JSON values. The most important thing is handling credentials and token expiry securely via Orchestrator rather than hardcoding them.

Configuring the HTTP Request activity with method, endpoint, headers, and authentication options

Handling OAuth 2.0 authorization code flow and storing client secrets in Orchestrator assets

Parsing JSON responses with Deserialize JSON and SelectToken/JsonPath for nested values

Managing memory when APIs return very large JSON payloads across many records

Watch out for

Common API Automation exam traps

  • ▸Hardcoding client secrets or tokens in workflow files instead of using Orchestrator assets or credential stores
  • ▸Assuming a Bearer token stays valid for the whole run, causing 401 errors after expiry
  • ▸Loading an entire huge JSON response into memory and deserializing it all at once, triggering OutOfMemoryException

Question index

All API Automation questions (15)

Click any question to see the full explanation, or start a practice session above.

1

An automation developer is using the HTTP Request activity in UiPath Studio to call a REST API that requires a bearer token. The token is stored in Orchestrator as an asset named "APIToken". The developer needs to include the token in the request header. Which approach should be used?

Medium
2

A developer is building a UiPath automation that consumes a REST API. The API returns a JSON response with a 'status' field and a 'data' array. The developer needs to handle both successful responses and error responses gracefully. Which two actions should the developer take to ensure robust error handling? (Choose two.)

Medium
3

A developer is using the HTTP Request activity to call a REST API that returns a 401 Unauthorized response. The API documentation states that the access token must be included in the 'Authorization' header as 'Bearer <token>'. The developer has already obtained a valid token and stored it in a string variable named 'accessToken'. Which configuration should the developer apply to the HTTP Request activity to ensure the token is sent correctly?

Medium
4

A developer is building an API workflow that must call a protected endpoint. The API requires a Bearer token that expires every 60 minutes. The developer uses the HTTP Request activity in a UiPath Studio project and wants to avoid hardcoding credentials. They have already configured an Orchestrator asset of type Credential named 'ApiUser' that stores the client ID and secret. Which approach should the developer use to obtain and attach the token to each request?

Medium
5

A developer is configuring OAuth 2.0 authorization code flow within UiPath Orchestrator and API activities to connect securely to a corporate CRM system. The security team mandates that client secrets must never be exposed or stored in plain text configuration files. Which authentication mechanism or credential management pattern should the developer implement?

Hard
6

A developer is using the UiPath HTTP Request activity to call a REST API that returns a JSON response. The developer needs to extract a specific value from the response body. Which activity should be used to convert the JSON response string into a manipulable object?

Easy
7

A developer is using the UiPath HTTP Request activity to send a POST request to an API that expects a JSON payload. The developer has a Dictionary(Of String, Object) variable named payloadDict containing the data to send. Which approach correctly serializes the dictionary and configures the request?

Hard
8

A developer is automating a process that calls a REST API which returns a large JSON response containing a 'results' array with 10,000 objects. The developer uses the Deserialize JSON activity and then a For Each loop to process each object. The workflow is running slowly and consuming high memory. Which approach should the developer take to improve performance while still processing all objects?

Hard
9

A developer has built a UiPath API workflow that calls a vendor's REST endpoint returning a JSON object with a nested 'items' array. The response is large, and the developer needs to extract only the 'id' field from each element in 'items' to feed a downstream process. The HTTP Request activity's output is stored in a variable of type String. Which approach should the developer use to reliably extract the required values?

Medium
10

An automation developer is troubleshooting an API workflow where a POST request to an external service intermittently returns a 429 Too Many Requests status code. Which TWO strategies should the developer implement in UiPath Studio to handle this rate-limiting scenario gracefully? (Choose two)

Medium
11

A developer is using the UiPath HTTP Request activity to call a REST API that returns a JSON array of customer records. The API paginates results and includes a 'nextPageToken' field in the response body when more data is available. The developer needs to retrieve all pages and aggregate the results into a single DataTable. Which approach should the developer use in the UiPath workflow?

Medium
12

A developer needs to call a REST API that requires an API key to be passed as a query parameter named 'api_key'. The developer is using the UiPath HTTP Request activity. Which property should the developer use to add this parameter?

Easy
13

An automation developer is building an integration with a third-party REST API that returns a JSON payload containing over 50,000 transaction records per request. The process frequently throws an OutOfMemoryException inside UiPath Studio when attempting to parse the entire response string using standard string manipulation. Which approach should the developer use to handle this large response efficiently?

Medium
14

A developer is using the UiPath HTTP Request activity to call an API that requires a bearer token. The token is obtained from an authentication endpoint and stored in a String variable named authToken. The developer must ensure that the token is sent in the Authorization header for every subsequent request. Which configuration in the HTTP Request activity correctly achieves this?

Hard
15

A developer uses the HTTP Request activity in a UiPath Studio project to call a REST API that returns a deeply nested JSON response. The developer needs to extract a specific value located at a path of several levels, and the response structure may vary slightly between calls. The developer wants to avoid deserializing the entire payload into custom classes. Which approach is most appropriate?

Medium

Frequently asked questions

What does the API Automation domain cover on the UiPath-ADPv1 exam?
Be able to call a protected REST endpoint with HTTP Request, authenticate correctly, and extract nested JSON values. The most important thing is handling credentials and token expiry securely via Orchestrator rather than hardcoding them.
How many questions are in this domain?
This page lists all 15 API Automation questions in the UiPath-ADPv1 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only API Automation questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
uipath-adpv1 UIPATH-ADPV1 api automation Practice Questions