Courseiva

UiPath-ADPv1 · topic practice

API Automation practice questions

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.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: API Automation

What the exam tests

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

Practice set

API Automation questions

20 questions · select your answer, then reveal the explanation

An automation developer is using the UiPath HTTP Request activity to send a POST request to an internal API that requires a JSON body with a nested object. The developer builds the JSON string using the 'Serialize JSON' activity from a Dictionary. After running the workflow, the API returns a 400 Bad Request error stating 'Invalid JSON format'. The developer verifies that the Dictionary contains the correct keys and values. What is the most likely cause of the error?

A developer is building a workflow that consumes a SOAP web service. The service requires a specific SOAP action and envelope. Which UiPath activity should be used to invoke the SOAP service?

A developer is building an API automation that must handle a REST API returning JSON with a nested array of objects under the key 'items'. Each object contains 'id', 'name', and 'status'. The developer uses the Deserialize JSON activity and needs to extract all 'id' values where 'status' equals 'active'. Which two actions should the developer perform to achieve this efficiently? (Choose two.)

Question 4mediummultiple choice
Read the full API Automation explanation →

A developer builds a UiPath API workflow that calls a REST endpoint returning a JSON array of 2,000 customer records. A subsequent activity must iterate over each record to validate a tax identifier. The HTTP Request activity has already deserialized the response into a JToken variable named apiResponse. Which approach should the developer use to iterate over the records?

A developer is creating an API workflow that uses the HTTP Request activity to send a POST request with a JSON payload. The API expects the 'Content-Type' header to be 'application/json'. The developer has built the JSON string using the Serialize JSON activity. Which property of the HTTP Request activity should the developer configure to set the content type correctly?

An automation developer is designing an API workflow that must authenticate to a corporate REST service using an API key. The service requires the key in a custom header named X-API-Key and also returns a session cookie that must be reused on subsequent calls within the same job. Which configuration in the HTTP Request activity should the developer use?

Question 7mediummultiple choice
Read the full API Automation explanation →

A developer is building a UiPath workflow that integrates with a REST API using the HTTP Request activity. The API returns a JSON response with a field named "created_at" formatted as an ISO 8601 string. The workflow must parse this value into a .NET DateTime for comparison with a local cutoff date. Which expression should the developer use?

A developer is building a UiPath automation that calls a REST API which returns large JSON payloads. The workflow must minimize memory usage and handle transient HTTP errors gracefully. Which two practices should the developer apply? (Choose two.)

A developer needs to send a JSON body with an HTTP POST request from a UiPath workflow. The body contains a nested object with a property named "priority" set to the string "high". Which configuration in the HTTP Request activity correctly sends this payload?

Question 10mediummultiple choice
Read the full API Automation explanation →

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?

Question 11hardmultiple choice
Read the full API Automation explanation →

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?

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)

Question 13mediummultiple choice
Read the full API Automation explanation →

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?

Question 14mediummultiple choice
Read the full API Automation explanation →

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?

Question 15mediummultiple choice
Read the full API Automation explanation →

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?

Question 16mediummultiple choice
Read the full API Automation explanation →

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?

Question 17mediummultiple choice
Read the full API Automation explanation →

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?

Question 18hardmultiple choice
Read the full API Automation explanation →

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?

Question 19easymultiple choice
Read the full API Automation explanation →

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?

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.)

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused API Automation sessions

Start a API Automation only practice session

Every question in these sessions is drawn from the API Automation domain — nothing else.

Related practice questions

Related UiPath-ADPv1 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the UiPath-ADPv1 exam test 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.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just API Automation questions in a focused session?
Yes — the session launcher on this page draws every question from the API Automation domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other UiPath-ADPv1 topics?
Use the topic links above to move to related areas, or go back to the UiPath-ADPv1 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the UiPath-ADPv1 exam covers. They are not copied from any real exam or dump site.