Skip to main content

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.

NameDescriptionData TypeRequired?Example
Connected AccountThe Connected Account to use for the requestConnected AccountYes
EndpointThe URL of the API endpoint to accessText (Long)Yeshttps://sandbox-apigw.optum.com/medicalnetwork/
MethodThe HTTP method to be used for the requestText (Short)YesGET
Use custom fields for Headers?When true, enter request headers as custom fieldsTrue/FalseNotrue
Request headersAdditional headers to include in the request in JSON formatText (Long)No{"Content-Type": "application/json"}
Use custom fields for Body?When true, enter the request body as custom fieldsTrue/FalseNotrue
Request bodyThe data to be included in the request bodyText (Long)No{"name": "John"}
FileA file to be included in the requestFileNoexample.pdf
File keyThe key where the file will be added to. Defaults to fileText (Short)Nofile
Output response as a file?Select this as true when your API call returns a file as an outputTrue/FalseNofalse

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)

NameDescriptionData TypeRequired?Example
Response status codeThe HTTP status code returned in the responseNumberYes200
Response headersAdditional information provided in the response headersText (Long)NoContent-Type: application/json
Response bodyThe main content of the responseText (Long)No{"message": "Success"}
Downloaded FileA file that is downloaded as part of the responseFileNoexample.pdf

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • An Optum Connected Account with Client ID, Client secret, and Environment (Sandbox or Production)