---
title: importRecipients
slug: campaign-dev-docs/importrecipients
createdAt: 2026-07-02T19:01:46.338Z
---

:::hint{type="info"}
**Note**
This method can be called with a batch of a maximum of 1000 recipients.
:::

**Type**: void

**Parameters**

| Name                 | Type        | Value                                                                                         |                                                                                          |
| -------------------- | ----------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| sessionId            | String      | ID of the session                                                                             |                                                                                          |
| waveId               | long        | ID returned by [prepareNewWave](https://docs.optimizely.com/campaign-dev-docs/preparenewwave) |                                                                                          |
| recipientFieldNames  | String]     |                                                                                               | The names of the recipient list fields of the recipient list                             |
| recipientFieldValues | String]\[ ] |                                                                                               | The values of the above mentioned recipient list fields, i.e., the actual recipient data |

**Return values**

–

**Code structure**

```javascript
void importRecipients(String sessionId, long waveId, String[] recipientFieldNames, String[][] recipientFieldValues)
```
