Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  API Explorer – inputData representation for POST /api/v2/flows/executions

    Posted 09-27-2026 12:06

    Hi all,

    I would like to bring some visibility again to the way API Explorer currently represents inputData for:

    POST /api/v2/flows/executions

    This behavior has been discussed before in the community, and I recently encountered the same situation.

    API Explorer suggests a nested object structure for inputData, while Architect Workflow inputs are actually received correctly when the flow variable is sent directly as a property, for example:

    {
      "flowId": "...",
      "inputData": {
        "Flow.<variable>": "<value>"
      }
    }

    Using the structure suggested by the standard API Explorer request builder can therefore lead to unnecessary troubleshooting, especially for technical teams that normally use API Explorer as the first step to validate an endpoint before moving to Postman, Data Actions, or custom development.

    Previous discussions already highlighted this behavior and suggested using Pro Mode or reporting the API definition through Genesys Cloud Care:

    API Explorer:
    POST /api/v2/flows/executions

    I think it would be useful if this could be reviewed again, either by adjusting the API Explorer representation or by adding a clear example showing the expected Architect Workflow input format.

    If this still needs to be formally tracked through Genesys Cloud Care, I would also be happy to open a case and reference the previous discussions.

    Thanks.


    #Architect
    #Integrations
    #PlatformAPI

    ------------------------------
    Israel Valverde Laime
    ------------------------------


  • 2.  RE: API Explorer – inputData representation for POST /api/v2/flows/executions

    Posted 09-27-2026 13:11

    Hi Israel,

    Yeah, unfortunately the API Explorer seems to have many issues like that.
    I have run into stuff like that at least 2 or 3 times (And they were unrelated to the execution flow API).

    Also, this specific error seems to have already been reported on Customer Care in the past (API Explorer Bug | Legacy Dev Forum Posts), but as we can see it hasn't been fixed.

    If you're able to open a case for that again, I would go ahead and do it. Hopefully they will fix it this time.

    A similar issue can be seen for example in the new Custom Attributes Search API (/api/v2/conversations/customattributes/search).

    It's supposed to have a "queryCustomAttributes" field, so that you can actually query what you want to search (just the most important field...), but this isn't present in the Request Builder in API Explorer. See below:



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------



  • 3.  RE: API Explorer – inputData representation for POST /api/v2/flows/executions

    Posted 09-29-2026 10:48

    Thanks for bringing this up again.

    I ran into the same behavior recently, and I agree that the main issue is not necessarily the API itself, but the way API Explorer represents inputData.

    When working with Architect Workflows, the expected structure is much clearer when the Workflow input variable is passed directly as a property inside inputData, for example:

    {
      "flowId": "...",
      "inputData": {
        "Flow.<variable>": "<value>"
      }
    }

    Using the standard request builder in API Explorer can easily lead someone to believe that a nested object is required. For teams that use API Explorer as the first validation step before implementing the request in Data Actions, Postman, or application code, this can create unnecessary troubleshooting and make a valid configuration appear incorrect.

    I think adding an explicit Architect Workflow example to the endpoint documentation would already be a significant improvement. Ideally, the API Explorer schema/request builder could also be adjusted so that it reflects the structure that the endpoint actually expects.

    Since this has already been reported in previous community discussions, it would be great to know whether this is currently tracked internally or whether opening a Genesys Cloud Care case is still the recommended path.

    Thanks for raising the visibility of this.



    ------------------------------
    Sebastian
    Ingeniero de Proyecto
    ------------------------------