---
title: "additionalHeaders(for:account:)"
framework: marketplacekit
role: symbol
role_heading: Instance Method
path: "marketplacekit/marketplaceappextension/additionalheaders(for:account:)"
---

# additionalHeaders(for:account:)

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

## Declaration

```swift
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.

## Mentioned in

Reauthenticating a person to manage apps Installing apps from an alternative marketplace

## Discussion

Discussion The operating system invokes your implementation of this callback before sending a request to your marketplace endpoints. In this method, use 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.
