Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
Operation Output Parameters

Operation Output Parameters

Learn about how External Services interprets an operation's output parameters.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions
  • Every operation captures the HTTP response code with an output parameter responseCode. The value of responseCode reflects the HTTP response code after the external call completes.

  • If the operation’s response parameter (OpenAPI) is defined under an HTTP response code value or is defined as default, then the operation output parameter name is the HTTP response code value or default. For an output parameter object type, its name contains the HTTP response code value.

  • For all operations where the HTTP response codes aren't defined in the OpenAPI specification, the default output parameter with name default and of type String returns the external call's response as a string.

  • These response content types are supported:
    • application/json
    • application/octet-stream
    • application/x-www-form-urlencoded
    • text/plain
    The response content type is specified in the responses section of the spec. For example:
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
 
Loading
Salesforce Help | Article