---
title: "init(call:callUUIDToGroupWith:)"
framework: callkit
role: symbol
role_heading: Initializer
path: "callkit/cxsetgroupcallaction/init(call:calluuidtogroupwith:)"
---

# init(call:callUUIDToGroupWith:)

Initializes a new action for a call identified by a given UUID, as well as a call to group with identified by another UUID.

## Declaration

```swift
init(call callUUID: UUID, callUUIDToGroupWith: UUID?)
```

## Parameters

- `callUUID`: The unique identifier for the associated doc://com.apple.callkit/documentation/CallKit/CXCall object of the action.
- `callUUIDToGroupWith`: The unique identifier of a doc://com.apple.callkit/documentation/CallKit/CXCall object for the call associated with the action to group with. If nil, the the call associated with the receiver leaves any group it’s currently a member of.

## Return Value

Return Value A new action for the specified call UUID and call UUID to group with.

## See Also

### Creating New Actions

- [init(coder:)](callkit/cxsetgroupcallaction/init(coder:).md)
