---
title: getIds
slug: campaign/dev-docs/getids-recipientfilterws
createdAt: 2026-08-06T15:53:45.320Z
---

**Type**: long\[ ]

**Parameters**

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

**Return values**

IDs of all available target groups

**Code structure**

```javascript
long[] getIds(String sessionId)
```
