Method | Description | |
---|---|---|
CreateFromTtsAndGetSoundDetails ( TextToSpeech textToSpeech, string fields ) : |
Use this API to create a sound file via a supplied string of text.
|
|
Delete ( long id ) : void |
Delete a single CampaignSound instance for a given campaign sound id.
|
|
Find ( |
Find all campaign sounds that were created by the user. These are all of the available sounds to be used in campaigns.
|
|
Get ( long id, string fields = null ) : |
Returns a single CampaignSound instance for a given campaign sound id. This is the meta data to the sounds only.No audio data is returned from this API.
|
|
GetMp3 ( long id ) : Stream |
Download the MP3 version of the hosted file.
|
|
GetWav ( long id ) : Stream |
Download the WAV version of the hosted file.
|
|
RecordViaPhoneAndGetSoundDetails ( CallCreateSound callCreateSound, string fields ) : |
Use this API to create a sound via phone call. Supply the required phone number in the CallCreateSound object inside of the request, and the user will receive a call shortly after with instructions on how to record a sound over the phone.
|
|
UploadAndGetSoundDetails ( string pathToFile, string name = null ) : |
Upload a MP3 or WAV file to account
|
Method | Description | |
---|---|---|
CampaignSoundsApi ( RestApiClient client ) : System | ||
CreateFromTts ( TextToSpeech textToSpeech ) : |
||
RecordViaPhone ( CallCreateSound callCreateSound ) : |
||
Upload ( string pathToFile, string name = null ) : |
public CreateFromTtsAndGetSoundDetails ( TextToSpeech textToSpeech, string fields ) : |
||
textToSpeech | TextToSpeech | TTS object to create |
fields | string | Limit text fields returned. Example fields=limit,offset,items(id,message) |
return |
public Find ( |
||
request | request object with different fields for search | |
return | Page |
public Get ( long id, string fields = null ) : |
||
id | long | id of campaign sound |
fields | string | Limit text fields returned. Example fields=limit,offset,items(id,message) |
return |
public RecordViaPhoneAndGetSoundDetails ( CallCreateSound callCreateSound, string fields ) : |
||
callCreateSound | CallCreateSound | request object to create campaign sound |
fields | string | Limit text fields returned. Example fields=limit,offset,items(id,message) |
return |
public UploadAndGetSoundDetails ( string pathToFile, string name = null ) : |
||
pathToFile | string | path to MP3 or WAV file |
name | string | contact list name |
return |