Perform an API call
Perform an API call against the Optum Medical Network Eligibility and Claims APIs.
API doc: https://developer.optum.com/eligibilityandclaims/
Base URLs:
- Sandbox:
https://sandbox-apigw.optum.com/medicalnetwork/ - Production:
https://apigw.optum.com/medicalnetwork/
Application
- Optum
Inputs (what you have)
For URL-encoded form data, see Sending URL-encoded form data.
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Connected Account | The Connected Account to use for the request | Connected Account | Yes | |
| Endpoint | The URL of the API endpoint to access | Text (Long) | Yes | https://sandbox-apigw.optum.com/medicalnetwork/ |
| Method | The HTTP method to be used for the request | Text (Short) | Yes | GET |
| Use custom fields for Headers? | When true, enter request headers as custom fields | True/False | No | true |
| Request headers | Additional headers to include in the request in JSON format | Text (Long) | No | {"Content-Type": "application/json"} |
| Use custom fields for Body? | When true, enter the request body as custom fields | True/False | No | true |
| Request body | The data to be included in the request body | Text (Long) | No | {"name": "John"} |
| File | A file to be included in the request | File | No | example.pdf |
| File key | The key where the file will be added to. Defaults to file | Text (Short) | No | file |
| Output response as a file? | Select this as true when your API call returns a file as an output | True/False | No | false |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library section. These variables in the Data Library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Response status code | The HTTP status code returned in the response | Number | Yes | 200 |
| Response headers | Additional information provided in the response headers | Text (Long) | No | Content-Type: application/json |
| Response body | The main content of the response | Text (Long) | No | {"message": "Success"} |
| Downloaded File | A file that is downloaded as part of the response | File | No | example.pdf |
Outcomes
| Name | Description |
|---|---|
| Success | This status is selected if the job has successfully completed. |
| Unsuccessful | This status is selected if the job has completed unsuccessfully. |
Requirements
- An Optum Connected Account with Client ID, Client secret, and Environment (Sandbox or Production)