---
schema_version: "1"
id: 14f82618ecad8387d0afc5192edabf259eecdc7465eb260d1b02e7b4dee0cc15
title: ConnectApi.NamedCredentialCalloutOptions
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_named_credential_callout_options.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_named_credential_callout_options.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 69e433b2bd23ad84547a365e32af22c562b90435cb5e24239b5966dd77a1cde5
description: Named credential callout options.
---
# ConnectApi.NamedCredentialCalloutOptions

Named credential callout options.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| allowMergeFields​InBody | Boolean | Specifies whether to allow merge fields in the HTTP body (true) or not (false). | 58.0 |
| allowMergeFields​InHeader | Boolean | Specifies whether to allow merge fields in the HTTP header (true) or not (false). | 58.0 |
| generate​AuthorizationHeader | Boolean | Specifies whether to generate an authorization header (true) or not (false). | 58.0 |

#### See Also

- [ConnectApi.NamedCredential](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_named_credential.htm "Named credential associated with an external credential.")