---
schema_version: "1"
id: 22eb9d8a715a9d02d03b18cd18f065e280711c35bc9fb1a7e26b74051aa4f509
title: HTTP Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_http_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_http_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1c8de24d190d602b3e48539567836d851a9020431fb6f36399441d06f6c08f48
description: For the managed package runtime, call internal and external web services from Omniscript without coding or making Salesforce API calls using the HTTP Action.
products:
  - Omnistudio
release: "264"
---
# HTTP Action (Managed Package)

For the managed package runtime, call internal and external web services from Omniscript without coding or making Salesforce API calls using the HTTP Action.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)

Note

In an LWC Omniscript, to use an HTTP Action that calls Apex, you must add the Salesforce org's domain into a Remote Site's **Remote Site URL** field. For more information, see [Adding Remote Site Settings](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_remote_site_settings.htm).

To make an external call with an HTTP Action:

Use the HTTP Action to:

- Send GET, POST, PUT, or DELETE requests to standard REST Endpoints.
- Call Apex REST.
- Access Salesforce Named Credential (OAuth) identity services.

Settings:

- HTTP Path: The request URL of the API. For example, `/NS/v1/application`. NS = namespace of the Apex REST API. The path can contain **merge fields**. For example, to pass a UserId node from the data JSON, add the node name with percentage signs on either side, i.e., %UserId%.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Beginning with Vlocity Summer '19, you can pass percentage signs in the URL by replacing the percentage sign in the URL with the variable $Vlocity.Percent.
- HTTP Method: The method name, which has two parameters. For example, **doPost(String fullJSON, String filesMap)**.
- Option Source: The type of HTTP Action.
- Use Named Credentials (OAuth via Salesforce).
- SOAP/XML (Simple Object Access Protocol)
- Web (Unauthenticated or Credentials in Header)
- Remote Timeout: The timeout for the request, in milliseconds. Defaults to 30,000 (30 seconds. Maximum 12,0000 (120 seconds).
- Pre- and Post-Transform Data Mapper Interface: (Optional) Omnistudio Data Mapper Transform interface to run before or after the REST Action.

Prior to Summer '17, the HTTP Action was known as the REST Action.

- **[HTTP Action Properties (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_http_action_properties_134968.htm&release=264.0.0&type=5)**  
    For the managed package runtime, this page contains information on HTTP Action Properties.