---
title: getAllIds
slug: campaign/dev-docs/getallids-attachmentws
createdAt: 2026-08-06T15:53:39.860Z
---

**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)
```
