---
title: getLinkUrls
slug: campaign/docs/getlinkurls
docTags: 
createdAt: 2026-07-02T19:01:45.941Z
---

**Type**: String\[ ]

**Parameters**

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

**Return values**

URLs of all tracking links that are used in the mailing

**Code structure**

```javascript
String[] getLinkUrls(String sessionId, long mailingId)
```
