---
title: sessionIdentifier
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkurlsessionrefreshbackgroundtask/sessionidentifier
---

# sessionIdentifier

The identifier for the triggering background transfer.

## Declaration

```swift
var sessionIdentifier: String { get }
```

## Discussion

Discussion This property holds the background session identifier from the URLSessionConfiguration object used to create the background transfer. Use this identifier to create a configuration and session object to connect to the background session task.
