---
title: getStatus
slug: campaign/docs/getstatus
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

**Type**: String

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |
| mailingId | long   | ID of the mailing |

**Return values**

Status of the mailing:

- NEW
- SENDING
- DONE
- CANCELLED

**Code structure**

```javascript
String getStatus(String sessionId, long mailingId)
```
