NowVoiceEndpoint structure - iOS

concept australia Updated Sep 10, 2026 1 min read NowVoiceEndpointiOSStruct.md
Raw file servicenow.com

Describes a voice agent endpoint.

A voice endpoint identifies the specific voice agent channel to connect to. Use NowVoiceService.configurations to obtain available NowVoiceEndpoints. Endpoints are retrieved from your ServiceNow instance's Mobile SDK settings. In most apps, there is a single endpoint.

Name Type Description
mobileChannelType String The mobile channel type for the endpoint.
mobileChannelId String The mobile channel identifier.
voiceServiceId String The unique identifier of the voice service.
voiceWebHookURL String The WebSocket webhook URL for the voice agent.

The following code example shows how to retrieve an instance of NowVoiceEndpoint from NowVoiceService.configurations.

JavaScript
import NowVoice
let instanceUrl = URL(string: "https://your-instance.service-now.com")!
do {    let voiceService = try await NowVoice.makeVoiceService(instanceUrl: instanceUrl) //creates a NowVoiceService} catch {    // Handle NowServiceError    print("Failed to create voice service: \(error)")}
guard let endpoint = voiceService.configurations.first else {    // No voice endpoints configured on this instance.    return}

Parent Topic:Mobile SDK - iOS

Search documentation
Search document titles and file paths on the australia branch