---
schema_version: "1"
id: bd7ecef67b76d5fb70220c22b61c586a93c68c3eb584da1544a6c28d1d18ae97
title: ConnectApi.TargetCollectionInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_target_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_target_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b3666c5096e64d10f2f1032985d6856c8a74b2660947341814f77f1611ddd8bb
description: Collection of targets to create.
---
# ConnectApi.TargetCollectionInput

Collection of targets to create.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| targets | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​TargetInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_target.htm "Target to create.")\> | List of targets to create. | Required | 48.0 |