---
title: getAllIds
slug: campaign/docs/getallids-attachmentws
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

**Type**: long\[ ]

**Parameters**

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

**Return values**

IDs of all available attachments

**Code structure**

```javascript
long[] getAllIds(string sessionId)
```
