Ni Nilesh,
there is no real api Feature yet (which would be kinda cool)
But there is a api-ish solution in retool:
To create api endpoints with Retool, you can use workflows.
Set up a webhook trigger with an endpoint and make it public.
Hey @Nilesh_Parsekar
Thanks for reaching out to the Retool community.
This sounds like something you could make with a Workflow in Retool. What you could do is setup a Workflow and have this Workflow operate as a normal Resource or leverage the Webhook aspect. Inside this Workflow you can then take the JSON payload from the start trigger data, invoke an Agent and pass the payload to it, and then after it generates a response, return the value you wish.
Retool plans to expand on Workflows/Automations in future releases so more features like this are on the way.
Let me know if you run into any issues here or let me know how this current method might fall short. I can put in a feature request to get something similar added in future releases.
Regards,
John | Retool Support
Thanks for response.
Webhook accept parameter and not a body, is this true ?
Issue has been sorted out can able to send JSON Body using postman using webhook api.