So I'm going to change (create) my API, a method to return the values in a single block. I don't think it's the right way to do it, but it will be the way I know how to do it.
]]>See above how variables are set and reused
]]>I managed to retrieve the value of the array through the documentation.
forum.livehelperchat.com/viewtopic.php?id=4127
I just can't save the value in a variable, to reuse it in a new REST API query
remdex if you can direct me I would be very grateful
]]>Yes, use update current chat trigger response there is option to save variable. Also see samples in the doc…
I'm trying to do this too.
I was unable to complete the process following the documentation.
Would it be something like this?
]]>
Hi, I managed to get the information correctly, thank you very much.
I would like to ask another question. In that first API call, the return shows me the user ID. Would it be possible for me to store this ID in a variable, so that I can call another API request using this variable?
Example: https://forum.livehelperchat.com/img/33 … 6918_a.png
use an api, collect the id and call another api using that collected id
Please don't share on the forum pictures with email address,
thank you.
Email address exposed can be attacked by spam or malware and can be some user data that must be stay private and not public
]]>I would like to ask another question. In that first API call, the return shows me the user ID. Would it be possible for me to store this ID in a variable, so that I can call another API request using this variable?
Example:
use an api, collect the id and call another api using that collected id
]]>