Skip to main content

Voicemod Control API 1.0.0 documentation

Known Issues

• The actionID field is null in some inbound messages
• A getBitmap message will fail if both payload fields (voiceID and memeId) are included

Contact

Feel free to get in touch with us at devservices@voicemod.net.

Servers​

voicemod Server​

  • URL: ws://localhost:59129/v1/
  • Protocol: ws

Voicemod App (Websocket Server)

Operations​

PUB registerClient Operation​

⚠This is the first message that must be sent to the Voicemod app
Once a connection is established, the plugin must send this message to make the app server aware of its presence. This is a prerequisite for communication between the plugin and app to be enabled.

Message RegisterClientAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("registerClient")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.clientKeystringThe unique identifier for the partner. This key should be provided by Voicemod---

Examples of payload (generated)

{
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"action": "registerClient",
"payload": {
"clientKey": "MyUniqueClientKey"
}
}

SUB registerClient Operation​

⚠This is the response to the first message that must be sent to the Voicemod app
This message is triggered in response to a registerClient message. A 200, Authorized response is required for communication between the plugin and app to be enabled.

Message RegisterClientTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("registerClient")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.status-The result of a registerClient request. Should be '200, "authorized"' if authorized, otherwise, '401, "unauthorized"'--additional properties are allowed
payload.status.codenumberStatus code that complies with HTTP response standard---
payload.status.descriptionstringDescription of status code---

Examples of payload (generated)

{
"action": "registerClient",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"status": {
"code": 200,
"description": "Authorized"
}
}
}

PUB getUser Operation​

Requests the id of the current user.

Message GetUserAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getUser")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getUser",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getUser Operation​

This message is triggered in response to a getUser message.

Message GetUserTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getUser")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.userIdstringThe user's id in the Voicemod app---

Examples of payload (generated)

{
"actionType": "getUser",
"actionObject": {
"userId": "a5a564eb-4976-4b4e-a660-5adcc855560e"
}
}

PUB getUserLicense Operation​

Requests user license information.

Message GetUserLicenseAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getUserLicense")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getUserLicense",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getUserLicense Operation​

This message is triggered as a response to a getUserLicense message.

Message GetUserLicenseTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getUserLicense")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.licenseTypestringThe user's license type in the Voicemod appallowed ("pro", "free")-additional properties are allowed

Examples of payload (generated)

{
"actionType": "getUserLicense",
"actionObject": {
"licenseType": "pro"
}
}

SUB licenseTypeChanged Operation​

This message is triggered when the user license has changed in the Voicemod app.

Message LicenseTypeChangedTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("licenseTypeChanged")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.licenseTypestringThe user's license type in the Voicemod appallowed ("pro", "free")-additional properties are allowed

Examples of payload (generated)

{
"actionType": "licenseTypeChanged",
"appVersion": "2.7.0.3",
"actionID": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"licenseType": "free"
},
"context": ""
}

PUB getRotatoryVoicesRemainingTime Operation​

Requests the remaining time (in seconds) before a refresh is made to the selection of voices that are available under the free version.

Message GetRotatoryVoicesRemainingTimeAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getRotatoryVoicesRemainingTime")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getRotatoryVoicesRemainingTime",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getRotatoryVoicesRemainingTime Operation​

This message is triggered in response to a getRotatoryVoicesRemainingTime message.

Message GetRotatoryVoicesRemainingTimeTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getRotatoryVoicesRemainingTime")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.remainingTimenumberThe remaining time (in seconds) before a refresh is made to the selection of voices that are available under the free version-format (long)-

Examples of payload (generated)

{
"actionType": "getRotatoryVoicesRemainingTime",
"actionObject": {
"remainingTime": 71769
}
}

PUB getVoices Operation​

Requests the list of the available voices and the current voice selected in the app for the current user.

Message GetVoicesAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getVoices")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getVoices",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getVoices Operation​

This message is triggered in response to a change in available voices (a change from free user to pro user or an update in daily free voices), and in response to a getVoices message.

Message GetVoicesTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getVoices")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.voicesarray----
actionObject.voices.idstringThe id of the voice---
actionObject.voices.friendlyNamestringThe friendly name of the voice---
actionObject.voices.enabledbooleanTrue if enabled for the user---
actionObject.voices.favoritedbooleanTrue if the user has marked the voice as favorite---
actionObject.voices.isNewbooleanTrue if the voice is new---
actionObject.voices.isCustombooleanTrue if the voice was generated by the user---
actionObject.voices.bitmapChecksumstringThe bitmap checksum enables the client to persist or cache the image to avoid excess getBitmap requests and improve performance---
actionObject.currentVoicestringThe currently selected voice in the app---

Examples of payload (generated)

{
"actionType": "getVoices",
"actionObject": {
"voices": [
{
"id": "baby",
"friendlyName": "Baby",
"enabled": true,
"isCustom": false,
"favorited": false,
"isNew": false,
"bitmapChecksum": "9af56b7cb7a87db7b9d4e93852599981"
},
{
"id": "blocks",
"friendlyName": "Blocks",
"enabled": true,
"isCustom": false,
"favorited": false,
"isNew": false,
"bitmapChecksum": "446244ad8e06e437ed13fa723d1df019"
}
]
},
"currentVoice": "nofx"
}

PUB getCurrentVoice Operation​

Requests the voice that is currently selected in the app.

Message GetCurrentVoiceAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getCurrentVoice")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getCurrentVoice",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getCurrentVoice Operation​

This message is triggered in response to a getCurrentVoice message.

Message GetCurrentVoiceTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getCurrentVoice")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.voiceIDstringThe id of the current voice---
actionObject.ParametersobjectProperty names and values for the current voice--additional properties are allowed

Examples of payload (generated)

{
"actionType": "getCurrentVoice",
"actionObject": {
"voiceID": "nofx",
"parameters": [
{
"_Master Volume": {
"default": 1,
"maxValue": 2,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"voiceVolume": {
"default": 6.5,
"maxValue": 6.5,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"_Reduce Background Noise": {
"default": -28,
"maxValue": 0,
"minValue": -40,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"noise Reduction": {
"default": 0,
"maxValue": 100,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
}
]
}
}

PUB getAllSoundboard Operation​

Requests all soundboards from the app with info for each soundboard and each sound that is enabled based on the current user's license.

Message GetAllSoundboardAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getAllSoundboard")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getAllSoundboard",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getAllSoundboard Operation​

This message is triggered in response to a change in a soundboard (a change from free user to pro user), and in response to a getAllSoundboard message.

Message GetAllSoundboardTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getAllSoundboard")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.soundboardsarray----
actionObject.soundboards.IdstringThe id of the soundboard profile---
actionObject.soundboards.NamestringThe friendly name of the soundboard---
actionObject.soundboards.IsCustombooleanTrue if the soundboard profile was created by the user---
actionObject.soundboards.EnabledbooleanTrue if user can execute meme sounds in this soundboard---
actionObject.soundboards.ShowProLogobooleanTrue if the user does not have a pro license and the soundboard is not enabled---
actionObject.soundboards.soundsarrayThe meme sounds contained in this soundboard profile---
actionObject.soundboards.sounds.IdstringThe id of the meme sound---
actionObject.soundboards.sounds.NamestringThe friendly name of the meme sound---
actionObject.soundboards.sounds.IsCustombooleanTrue if the meme sound was created by the user---
actionObject.soundboards.sounds.EnabledbooleanTrue if user can execute this meme sound---
actionObject.soundboards.sounds.ShowProLogobooleanTrue if the user does not have a pro license and the meme sound is not enabled---
actionObject.soundboards.sounds.playbackModestringThe playback mode for the meme sound - PlayRestart: On hit, stop the sound if it is still playing, then restart it from the beginning. - PlayStop: On hit, stop the sound if it was still playing, restart it otherwise. - PlayPause: On hit, pause the sound if it was still playing, restart it otherwise. - PlayOverlap: On hit, reproduce the sound without stopping any other instances still playing. - PlayLoopOnPress: OnKeyDown, reproduce the sound on a loop and don't stop until the OnKeyUp.allowed ("PlayRestart", "PlayPause", "PlayStop", "PlayOverlap", "PlayLoopOnPress")-additional properties are allowed
actionObject.soundboards.sounds.loopbooleanTrue if the meme sound should be played back in loop---
actionObject.soundboards.sounds.muteOtherSoundsbooleanTrue if the meme sound should stop playback of other sounds---
actionObject.soundboards.sounds.muteVoicebooleanTrue if the meme sound should mute the user's microphone---
actionObject.soundboards.sounds.bitmapChecksumstringThe bitmap checksum enables the client to persist or cache the image to avoid excess getBitmap requests and improve performance---

Examples of payload (generated)

{
"actionType": "getAllSoundboard",
"actionObject": {
"soundboards": [
{
"id": "75bbb8c1-7dd9-434f-8d44-c99b4f1c61df",
"name": "My Soundboard",
"isCustom\"": true,
"enabled\"": true,
"showProLogo\"": false,
"sounds": [
{
"id": "ad6efa6b-4872-4217-9465-5415178dfc1f",
"name": "Nuke Alert",
"isCustom": false,
"enabled": true,
"playbackMode": "PlayRestart",
"loop": false,
"muteOtherSounds": false,
"muteVoice": false,
"stopOtherSounds": true,
"showProLogo": false,
"bitmapChecksum": "14-04-DB-12-50-09-25-14-18-C5-62-2D-4A-AB-8D-31"
}
]
},
{
"id": "96a38ce2-f6b6-4cb2-ada6-df41f845991a",
"name": "Anime",
"isCustom\"": false,
"enabled\"": false,
"showProLogo\"": true,
"sounds": [
{
"id": "1b7cda07-409f-4c25-999c-4729e8a931a3",
"name": "Temple Gong",
"isCustom": false,
"enabled": false,
"playbackMode": "PlayRestart",
"loop": false,
"muteOtherSounds": false,
"muteVoice": false,
"stopOtherSounds": true,
"showProLogo": false,
"bitmapChecksum": "2C-A0-DD-13-B5-93-F1-C4-4D-80-82-A5-74-DE-11-1F"
},
{
"id": "b3ddaeea-8001-4e87-a7e6-362db6e96f2a",
"name": "Punch",
"isCustom": false,
"enabled": false,
"playbackMode": "PlayRestart",
"loop": false,
"muteOtherSounds": false,
"muteVoice": false,
"stopOtherSounds": true,
"showProLogo": false,
"bitmapChecksum": "D1-FA-F1-2B-D9-44-88-21-06-C9-02-05-C2-D8-D7-E8"
}
]
}
]
}
}

SUB getActiveSoundboardProfile Operation​

This message is triggered in response to a change in of a currently active soundboard.

Message GetActiveSoundboardProfile​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
typestring-const ("getActiveSoundboardProfile")-additional properties are allowed
payload----additional properties are allowed
payload.profileIdstring----

Examples of payload (generated)

{
"type": "getActiveSoundboardProfile",
"payload": {
"profileId": "string"
}
}

PUB getMemes Operation​

Requests the list of the available meme sounds for the current user.

Message GetMemesAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getMemes")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getMemes",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB getMemes Operation​

This message is triggered in response to a change in available meme sounds (the user has added or removed a meme), and in response to a getMemes message.

Message GetMemesTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getMemes")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.listOfMemesarray----
actionObject.listOfMemes.NamestringThe friendly name of the meme sound---
actionObject.listOfMemes.FilenamestringThe filename of the meme sound---
actionObject.listOfMemes.TypestringThe playback mode for the meme sound - PlayRestart: On hit, stop the sound if it is still playing, then restart it from the beginning. - PlayStop: On hit, stop the sound if it was still playing, restart it otherwise. - PlayPause: On hit, pause the sound if it was still playing, restart it otherwise. - PlayOverlap: On hit, reproduce the sound without stopping any other instances still playing. - PlayLoopOnPress: OnKeyDown, reproduce the sound on a loop and don't stop until the OnKeyUp.allowed ("PlayRestart", "PlayPause", "PlayStop", "PlayOverlap", "PlayLoopOnPress")-additional properties are allowed
actionObject.listOfMemes.ImagestringThe filename of the meme sound's image---

Examples of payload (generated)

{
"actionType": "getMemes",
"appVersion": "2.0.0.34",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"listOfMemes": [
{
"Name": "My Soundboard - Toc toc Boom",
"FileName": "78",
"Type": "PlayRestart",
"Image": "iVBORw0KUuxZaGehlmhmkW50Ng9dM [...] =="
},
{
"Name": "My Soundboard - Jungle King",
"FileName": "79",
"Type": "PlayRestart",
"Image": "iVBORw0KUuxZaGehlmhmkW50Ng9dM [...] =="
},
{
"Name": "My Soundboard - Evil laugh",
"FileName": "80",
"Type": "PlayRestart",
"Image": "iVBORw0KUuxZaGehlmhmkW50Ng9dM [...] =="
}
]
},
"context": ""
}

PUB getBitmap Operation​

Requests the icon for a given voice or meme.

Message GetBitmapAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)--examples ({"action":"getBitmap","id":"ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6","payload":{"voiceID":"nofx"}}, {"action":"getBitmap","id":"ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6","payload":{"memeId":"26"}})-additional properties are allowed
actionstring-const ("getBitmap")-additional properties are allowed
idstring----
payload-Note - only one of the two fields (voiceID or memeId) should be included in an outbound payload--additional properties are allowed
payload.voiceIDstringThe ID of the voice we want to recover the bitmap for---
payload.memeIdstringThe ID of the meme we want to recover the bitmap for---

Examples of payload

{
"action": "getBitmap",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"voiceID": "nofx"
}
}
{
"action": "getBitmap",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"memeId": "26"
}
}

SUB getBitmap Operation​

This message is triggered in response to a getBitmap message.

Message GetBitmapTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("getBitmap")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObjectoneOf---additional properties are allowed
actionObject.0 (oneOf item)----additional properties are allowed
actionObject.0.voiceIDstringThe id of the selected voice---
actionObject.0.result----additional properties are allowed
actionObject.0.result.defaultstringThe default icon for the resource (base64 encoded binary)---
actionObject.0.result.selectedstringThe icon for the resource when selected (base64 encoded binary)---
actionObject.0.result.transparentstringThe icon with transparency for the resource---
actionObject.1 (oneOf item)----additional properties are allowed
actionObject.1.memeIdstringThe id of the selected meme sound---
actionObject.1.result----additional properties are allowed
actionObject.1.result.imagestringThe default icon for the resource (base64 encoded binary)---

Examples of payload (generated)

{
"actionType": "getBitmap",
"actionID": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"appVersion": "2.0.0.34",
"context": "",
"actionObject": {
"default": "iVBORw0KUuxZaGehlmhmkW50Ng9dM [...] ==",
"selected": "iVBORw0KUuxZaGehlmhmkW50Ng9dM [...] ==",
"transparent": "iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfN[...] =="
}
}

PUB loadVoice Operation​

Requests a change to the user's selected voice.

Message LoadVoiceAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("loadVoice")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.voiceIDstringThe id of the voice we want to select---
payload.parameterNamestringThe name of a parameter to be changed when selecting the voice---
payload.parameterValuestringThe value of the parameter to be changed---

Examples of payload (generated)

{
"action": "loadVoice",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"voiceID": "cave"
}
}

PUB selectRandomVoice Operation​

Requests a change to a randomly selected voice.

Message SelectRandomVoiceAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)--examples ({"action":"selectRandomVoice","id":"ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6","payload":{}}, {"action":"selectRandomVoice","id":"ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6","payload":{"mode":"FavoriteVoices"}})-additional properties are allowed
actionstring-const ("selectRandomVoice")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.modestringShuffle mode - can be one of the following:
- AllVoices: Select any voice. Available if the user has a Pro license
- FreeVoices: Select any voice available in the free version
- FavoriteVoices: Select only from favorited voices
- CustomVoices: Select only from voices created by the user
allowed ("AllVoices", "FreeVoices", "FavoriteVoices", "CustomVoices")-additional properties are allowed

Examples of payload

{
"action": "selectRandomVoice",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}
{
"action": "selectRandomVoice",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"mode": "FavoriteVoices"
}
}

SUB voiceChangedEvent Operation​

This message is triggered in response to a change in the currently selected voice (through user interaction in the app), in response to a selectVoice message, and in response to a getCurrentVoice message.

Message VoiceChangedEventTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("voiceChangedEvent")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.voiceIDstringThe id of the current voice---

Examples of payload (generated)

{
"actionType": "voiceChangedEvent",
"appVersion": "2.0.0.34",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"voiceID": "deep"
}
}

PUB getHearMyselfStatus Operation​

Requests a toggle of the "Hear my voice" button in the app.

Message GetHearMyselfStatusAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getHearMyselfStatus")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getHearMyselfStatus",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB toggleHearMyVoice Operation​

Requests a toggle of the "Hear my voice" button in the app.

Message ToggleHearMyVoiceAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("toggleHearMyVoice")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "toggleHearMyVoice",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB toggleHearMyVoice Operation​

This message is triggered in response to a user interaction with the "Hear My Voice" toggle in the app, in response to a toggleHearMyVoice message, and in response to a getHearMyselfStatus message.

Message ToggleHearMyVoiceTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypeany---additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.valuebooleanThe value (true or false) of the parameter---

Examples of payload (generated)

{
"actionType": "toggleHearMyVoice",
"appVersion": "2.0.0.34",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"value": true
}
}

PUB getVoiceChangerStatus Operation​

Requests the current state of the "Voice Changer" button in the app.

Message GetVoiceChangerStatusAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getVoiceChangerStatus")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getVoiceChangerStatus",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB toggleVoiceChanger Operation​

Requests a toggle of the "Voice Changer" button in the app. As a response, a voiceChangerEnabledEvent or a voiceChangerDisabledEvent is triggered (depending on the value of the toggle).

Message ToggleVoiceChangerAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("toggleVoiceChanger")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "toggleVoiceChanger",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB toggleVoiceChanger Operation​

This message is triggered in response to a user interaction with the "Voice Changer" toggle in the app and in response to a getVoiceChangerStatus message.

Message ToggleVoiceChangerTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("toggleVoiceChanger")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.valuebooleanThe value (true or false) of the parameter---

Examples of payload (generated)

{
"actionType": "toggleVoiceChanger",
"appVersion": "2.0.0.34",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"value": false
}
}

SUB voiceChangerEnabledEvent Operation​

This message is triggered is response to a toggleVoiceChanger message that ends up enabling the voice changer.

SUB voiceChangerDisabledEvent Operation​

This message is triggered is response to a toggleVoiceChanger message that ends up disabling the voice changer.

PUB getBackgroundEffectStatus Operation​

Requests the current state of the "Background Effects" button in the app.

Message GetBackgroundEffectStatusAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getBackgroundEffectStatus")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getBackgroundEffectStatus",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB toggleBackground Operation​

Requests a toggle of the "Background Effects" button in the app.

Message ToggleBackgroundAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("toggleBackground")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "toggleBackground",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB toggleBackground Operation​

This message is triggered in response to a user interaction with the "Background Effects" toggle in the app, in response to a toggleBackground message, and in response to a getBackgroundEffectStatus message.

Message ToggleBackgroundTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("toggleBackground")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.valuebooleanThe value (true or false) of the parameter---

Examples of payload (generated)

{
"actionType": "toggleBackground",
"appVersion": "2.0.0.33",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"value": false
}
}

PUB getMuteMicStatus Operation​

Requests the current state of the "Mute" button in the app.

Message GetMuteMicStatusAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getMuteMicStatus")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getMuteMicStatus",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB toggleMuteMic Operation​

Requests a toggle of the "Mute" button in the app.

Message ToggleMuteAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("toggleMuteMic")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "toggleMuteMic",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB toggleMuteMic Operation​

This message is triggered in response to a user interacting with the "Mute" toggle in the app, in response to a toggleMuteMic message, and in response to a getMuteMicStatus message.

Message ToggleMuteTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("toggleMute")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.valuebooleanThe value (true or false) of the parameter---

Examples of payload (generated)

{
"actionType": "toggleMuteMic",
"appVersion": "2.0.0.33",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"value": true
}
}

PUB setBeepSound Operation​

Requests a state change of the "beep" sound that is normally actioned by the user to censor something he or she is saying.

Message SetBeepSoundAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("setBeepSound")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.badLanguagenumberNew setting:
- 1 if we want to start the beep
- 0 if we want to end it
-format (int)-

Examples of payload (generated)

{
"action": "setBeepSound",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"badLanguage": 1
}
}

PUB playMeme Operation​

Requests playback of a meme sound.

Message PlayMemeAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("playMeme")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.FileNamestringThe file name of the sound we want to play---
payload.IsKeyDownbooleanTrue if sending a KeyDown action---

Examples of payload (generated)

{
"action": "playMeme",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"FileName": "80",
"IsKeyDown": true
}
}

PUB stopAllMemeSounds Operation​

Requests playback stop of all meme sounds currently playing.

Message StopAllMemeSoundsAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("stopAllMemeSounds")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "stopAllMemeSounds",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB getMuteMemeForMeStatus Operation​

Requests the current status of the "Mute for me" button in the app (Soundboard menu).

Message GetMuteMemeForMeStatusAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("getMuteMemeForMeStatus")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "getMuteMemeForMeStatus",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

PUB toggleMuteMemeForMe Operation​

Requests a toggle of the "Mute for me" button in the app (Soundboard menu).

Message ToggleMuteForMeMemeAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("toggleMuteMemeForMe")-additional properties are allowed
idstring----
payloadobject-const ({})-additional properties are allowed

Examples of payload (generated)

{
"action": "toggleMuteMemeForMe",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {}
}

SUB toggleMuteMemeForMe Operation​

This message is triggered in response to a change in "Mute for me" (through user interaction in the app), in response to a toggleMuteMemeForMe message, and in response to a getMuteMemeForMeStatus message.

Message ToggleMuteForMeMemeTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("toggleMuteMemeForMe")-additional properties are allowed
actionIDstring----
appVersionstring----
contextobject---additional properties are allowed
actionObject----additional properties are allowed
actionObject.valuebooleanThe value (true or false) of the parameter---

Examples of payload (generated)

{
"actionType": "toggleMuteMemeForMe",
"appVersion": "2.0.0.33",
"actionId": "9aabf036-0ba4-4359-a2d6-90ac8691e320",
"actionObject": {
"value": true
}
}

PUB setCurrentVoiceParameter Operation​

Requests a change of parameter for currently selected voice.

Message SetCurrentVoiceParameterAction​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionstring-const ("setCurrentVoiceParameter")-additional properties are allowed
idstring----
payload----additional properties are allowed
payload.parameterNamestringName of voice parameter---
payload.parameterValue----additional properties are allowed
payload.parameterValue.maxValuenumbermaxValue---
payload.parameterValue.minValuenumberminValue---
payload.parameterValue.displayNormalizedbooleandisplayNormalized---
payload.parameterValue.valuenumbervalue---

Examples of payload (generated)

{
"action": "setCurrentVoiceParameter",
"id": "ff7d7f15-0cbf-4c44-bc31-b56e0a6c9fa6",
"payload": {
"parameterName": "Mix",
"parameterValue": {
"value": 0.6
}
}
}

SUB setCurrentVoiceParameter Operation​

This message is triggered in response to a change in "setCurrentVoiceParameter", in response to a setCurrentVoiceParameter message.

Message SetCurrentVoiceParameterTrigger​

Payload​
NameTypeDescriptionValueConstraintsNotes
(root)----additional properties are allowed
actionTypestring-const ("setCurrentVoiceParameter")-additional properties are allowed
actionObject----additional properties are allowed
actionObject.voiceIDstringThe id of the current voice---
actionObject.ParametersobjectProperty names and values for the current voice--additional properties are allowed

Examples of payload (generated)

{
"actionType": "setCurrentVoiceParameter",
"actionObject": {
"voiceID": "nofx",
"parameters": [
{
"_Master Volume": {
"default": 1,
"maxValue": 2,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"voiceVolume": {
"default": 6.5,
"maxValue": 6.5,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"_Reduce Background Noise": {
"default": -28,
"maxValue": 0,
"minValue": -40,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
},
{
"noise Reduction": {
"default": 0,
"maxValue": 100,
"minValue": 0,
"displayNormalized": true,
"typeController": 0,
"value": 0
}
}
]
}
}