Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Export user promts

    Posted 06-05-2025 19:12

    sk_dk | 2022-04-13 08:03:54 UTC | #1

    Is there an easy way to export user promts so you can fix it and import again? I will also use the exported file for documentation to the customer.

    The "/api/v2/ architect/prompts" does not return a usable result Can you filter the API so that you only receive "name", "description"?


    MelissaBailey | 2022-04-13 18:17:54 UTC | #2

    Is there an easy way to export user promts so you can fix it and import again?

    If you're talking about the ttsString and/or text fields, use the get /api/v2/architect/prompts/{promptId}/resources/{languageCode} endpoint to see what they are and the put /api/v2/architect/prompts/{promptId}/resources/{languageCode} endpoint to change them. If you're talking about a recording you've uploaded, use the get /api/v2/architect/prompts/{promptId}/resources/{languageCode} endpoint. The response has a mediaUri field that you can use to download the recording. To upload a new recording, post your file to the uploadUri for the prompt resource. https://developer.genesys.cloud/routing/architect/prompts/upload-prompts-guide#upload-the-audio-file has an example

    Can you filter the API so that you only receive "name", "description"?

    No the api does not have a filter for which fields to return. However once you have the response you can write code to only print out or save what you care about.


    system | 2022-05-14 18:18:49 UTC | #3

    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: 14306