<!--
{
  "availability" : [
    "iOS: 3.0.0 - 7.0.0",
    "iPadOS: 3.0.0 - 7.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 3.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKVoiceChatService/acceptCallID(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKVoiceChatService(im)acceptCallID:error:"
  },
  "title" : "acceptCallID(_:)"
}
-->

# acceptCallID(_:)

Accepts a request from a remote user to establish a voice chat.

```
func acceptCallID(_ callID: Int) throws
```

## Parameters

`callID`

An integer that identifies the connection request.

## Discussion

When a remote user requests a voice chat, the voice chat service calls the client’s [`voiceChatService(_:didReceiveInvitationFromParticipantID:callID:)`](/documentation/GameKit/GKVoiceChatClient/voiceChatService(_:didReceiveInvitationFromParticipantID:callID:)) method. The client calls this method to accept the request or [`denyCallID(_:)`](/documentation/GameKit/GKVoiceChatService/denyCallID(_:)) to reject it.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)