---
title: getAll
slug: campaign/docs/getall
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

This method can be replaced by the .NET replacement method [getAllFlat](docId\:o6vyTmL0oSBcRSnhXfHmY).

**Type**: String\[ ] \[ ]

**Parameters**

| Name            | Type       | Value                                                      |
| --------------- | ---------- | ---------------------------------------------------------- |
| sessionId       | String     | ID of the session                                          |
| recipientListId | long       | ID of the recipient list                                   |
| attributeNames  | String\[ ] | Names of the fields, whose recipient data shall be queried |

**Return values**

All recipients that are contained in the recipient list

**Code structure**

```javascript
String[][] getAll(String sessionId, long recipientListId, String[] attributeNames)
```
