---
title: getStatus
slug: campaign/dev-docs/getstatus
createdAt: 2026-08-06T15:53:46.322Z
---

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