<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "marketplacekit",
  "identifier" : "/documentation/MarketplaceKit/MarketplaceAppExtension/additionalHeaders(for:account:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MarketplaceKit"
    ],
    "preciseIdentifier" : "s:14MarketplaceKit0A12AppExtensionP17additionalHeaders3for7accountSDyS2SG10Foundation10URLRequestV_SStYaF"
  },
  "title" : "additionalHeaders(for:account:)"
}
-->

# additionalHeaders(for:account:)

Adds information to the request header for communications from the operating system to your marketplace endpoints.

```
func additionalHeaders(for request: URLRequest, account: String) async -> [String : String]
```

## Parameters

`request`

A request that contains a header to which you add information.

`account`

Authentication information about the signed-in person.

## Discussion

The operating system invokes your implementation of this callback before sending a request to your marketplace endpoints. In this method, use <doc://com.apple.documentation/documentation/Foundation/URLRequest/addValue(_:forHTTPHeaderField:)> to add to the header. The additions detail information that your marketplace server needs to authorize the request.

For more information, see [Installing apps from an alternative marketplace](/documentation/marketplacekit/installing-apps-from-an-alternative-marketplace).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)