---
title: getColumnNames
slug: campaign/docs/getcolumnnames-mailingws
docTags: 
createdAt: 2026-07-02T19:01:44.226Z
---

**Type**: String\[ ]

**Parameters**

| Name        | Type   | Value                                                                          |
| ----------- | ------ | ------------------------------------------------------------------------------ |
| sessionId   | String | ID of the session                                                              |
| mailingType | String | Type of the mailing  (regular, event, confirmation, template, campaign, split) |

**Return values**

Column names of the mailings

The columns and the column order are subject to change.

**Code structure**

```javascript
String[] getColumnNames(String sessionId, String MailingType)
```
