How to access REST api response

Hello Friends.
I am new in kore ai.

Here I have question how to access REST api response.

Here I have added my dialog task screen hot. What I try to do?

I need to send message to user using message node. So I try to access “phone,body” parameter from API response but not success and bot finally give me error.

So please help me. How I can resolve my problem?

Thanks.

Hello @divyesh.trambadia :smiley:,

Welcome to Kore Community :clap:

The response of the service not is saved in the context object. To retrieve the information, you should use

context.<node name>.response.body.<object name>

For your usecase, pone will be obtained using- context.wscall.response.body.phone

The following documentation should be helpful:

Thank you for stopping by!!

Thank you @sameera.tumuluri

1 Like