---
title: pause
slug: campaign/docs/pause
createdAt: 2026-07-02T19:01:45.566Z
---

The status can be queried with the [getStatus](docId\:DC5RW0_6pMg2cbRZx2ZSK) method. The mailing must be of the type regular. All other mailings (event, confirmation, template) cannot be paused.

**Type**: void

**Parameters**

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

**Return values**

- **Code structure**

```javascript
void pause(String sessionId, long mailingId)
```
