Skip to content
Wysp Docs

device.initialize

Initialize the connection

type: object

NameTypeRequiredDescription
deviceIdstringyesOpaque stable identifier for the device. Typically randomly generated and stored on the device, or provided by the operating system.
userAgentstringnoFreeform text identifying the client platform/software
subscriptionsstring[]yesDefine which kinds of realtime events this device wants to receive.
{
"kind": "device.initialize",
"data": {
"deviceId": "2ef22bf5-ab81-43d9-85c0-3cc942c0fda5",
"userAgent": "Wysp iOS 1.0.47",
"subscriptions": [
"utterances",
"prompts",
"tools"
]
}
}