Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Localhost api call

    Posted 06-05-2025 18:44

    Anton_Vroon | 2023-06-07 21:18:41 UTC | #1

    Is it at all possible to call an API where the endpoint sits on the user's PC IE calling a localhost endpoint, where that is the PC? Either through the generic webservice integration or client app SDK?


    tim.smith | 2023-06-07 22:11:02 UTC | #2

    The only way you can do that is via some custom code you write. Everything that would be executed by Genesys, i.e. data actions, are executed server-side and therefore can only access publicly-addressable endpoints.


    Anton_Vroon | 2023-06-07 22:12:35 UTC | #3

    Thanks Tim

    Any guidance on what the custom code would need to accomplish to achieve this?


    tim.smith | 2023-06-07 22:16:46 UTC | #4

    Here's an example with axios: axios.get('https://localhost').


    system | 2023-07-08 22:16:54 UTC | #5

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