---
schema_version: "1"
id: 368bfef75ab404bb3fec00f2f72a277e28f07e4288655858a0e7f4f4fd9492f6
title: CallOptions
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_calloptions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_calloptions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7b7d93ff153abec9de054851954d1b1ecbe7ba47f169d65e2d57b9b7b6666606
description: Specifies the API client identifier.
---
# CallOptions

Specifies the API client identifier.

## Version

This call is available in all API versions.

## Supported Calls

All Metadata API calls.

## Fields

### client

- **Type**: string
- **Description**: A value that identifies an API client.

## Sample Code—Java

To change the API client ID, add the CallOptions header to the metadata connection before you perform a call as follows:

metadataConnection.setCallOptions("client ID");