action callfire_post_ttscampaign_sound { label: "Add sound via text-to-speech" description: "Use this API to create a sound file via a supplied string of text. Add a text in the TextToSpeech.message field, and pick a voice in the TextToSpeech.voice field. Available voices are: MALE1, FEMALE1, FEMALE2, SPANISH1, FRENCHCANADIAN1" provider: callfire method: POST path: "/campaigns/sounds/tts" encoding: json input: { type: "object" properties: { fields: { type: "string" } message: { type: "string" description: "A text to be turned into sound" } voice: { type: "string" description: "A voice to be used. Available values: MALE1, FEMALE1 , FEMALE2, SPANISH1, FRENCHCANADIAN1" enum: ["MALE1", "FEMALE1", "FEMALE2", "SPANISH1", "FRENCHCANADIAN1"] } } additionalProperties: false } output: { type: "object" description: "Represents a sound recording from account's sound library which can be used in different API operations" properties: { created: { type: "integer" format: "int64" description: "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT" } duplicate: { type: "boolean" description: "True if the same sound file exists in a sound library of account" } id: { type: "integer" format: "int64" description: "An id of a sound file" } lengthInSeconds: { type: "integer" format: "int32" description: "Length of a sound in seconds" } name: { type: "string" description: "A name of a sound file" } status: { type: "string" description: "A current status of a sound, available values: UPLOAD - uploading is in progress, RECORDING - recording of sound is in progress, ACTIVE - sound is ready, FAILED, ARCHIVED - sound was archived, SCRUBBED - sound was scrubbed " enum: ["UPLOAD", "RECORDING", "ACTIVE", "ACTIVE_SYSTEM", "FAILED", "ARCHIVED", "SCRUBBED"] } } } }