Legacy Dev Forum Posts

 View Only

Sign Up

Is it possible to add a prompt with prompt audio from API

  • 1.  Is it possible to add a prompt with prompt audio from API

    Posted 06-05-2025 18:13

    athuldilip | 2018-06-09 10:45:59 UTC | #1

    I want to add a Prompt and upload an audio as the prompt resource using PureCloud API. I'm able to add the prompt by using Create a new Prompt API call and by using Create a new Prompt Resource API Call I'm able to add a prompt resource and set a TTS string for it. But I can't figure out how to upload an audio while adding a prompt resource. Is there any way to add a prompt resource with custom audio instead of TTS?

    Thanks


    athuldilip | 2018-06-09 10:45:05 UTC | #2

    Kindly any update on this


    MelissaBailey | 2018-06-11 12:45:07 UTC | #3

    Post the audio recording to the prompt resource's uploadUri.


    tim.smith | 2018-06-11 16:52:28 UTC | #4

    Documentation for how to upload audio is pending completion of CA-5434.

    @MelissaBailey can you share an example HTTP post to the upload service for this?


    tim.smith | 2018-06-11 20:34:51 UTC | #5

    I've created some documentation for uploading a prompt as well as a tutorial:


    athuldilip | 2018-06-12 12:38:29 UTC | #6

    Thanks a lot for the documentation.


    system | 2018-07-13 12:38:32 UTC | #7

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 2951