optionObject: an jsonOptions containing the phone number to register the device with. For example:

letphoneNumber:String=self.phoneNumberTF.text!letjsonOptions:[AnyHashable:Any]=["phoneNumber":phoneNumber]ifJSONSerialization.isValidJSONObject(jsonOptions){// JSON is valid and can be sent with registerDevice request}