WebHook Action

Provide Webhook using Thingsup IoT Platform.

This provides a webhook. User need to provide following parameters.


User need to provide HTTP(S) URL for HTTP Web Request


  • Javascript code to process input data.

  • "headers","payload", "ContentType", "data" object are available in this code.

  • These will be passed as your HTTP Request. ContentType set here will override ContentType field value.

//Example 1

data = { 
city: payload.city

headers["Authorization"] = "Bearer Test123";
ContentType = "application/x-www-form-urlencoded"; 


User need to provide HTTP Request Data Content Type.


User need to provide HTTP Request Method.


Request Data in JSONObject Format shown as below. {"Key": 12, "Key2":"Value"}

Please note the following points:

  • "payload" object is supplied from Action Trigger like Rules, Action Command etc

  • Response object will be available as Action Response.

  • Loops are not supported for Performance.

Last updated