---
title: getDataSetFlat
slug: campaign/docs/getdatasetflat-recipientlistws
docTags: 
createdAt: 2026-07-02T19:01:45.941Z
---

**Type**: String\[ ]

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |

**Return values**

Values of the recipient lists

To assign the returned values to different recipient lists, use the [getColumnNames](docId\:IY9VytteWCNFJQyGElTfN) method. With this method, you can determine the number of values of a recipient list.

**Code structure**

```javascript
String[] getDataSetFlat(String sessionId)
```
