Execute API Task real-time endpoint

Execute your API Task with the unique URL generated along with the token.

POST https://hotbot-2689-knative-0a665343-88e9-17be-8189-936dad5d0144.prod-ause1-ee.my.automationanywhere.digital/execute
Header: X-Authorization: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiIzODAiLCJ0ZW5hbnRVdWlkIjoiMGE2NjUzNDMtODhlOS0xN2JlLTgxODktOTM2ZGFkNWQwMTQ0IiwiY2xpZW50VHlwZSI6IldFQiIsIm11bHRpcGxlTG9naW4iOnRydWUsImJvdElkIjoyNjg5LCJpYXQiOjE3MDgzNTIxOTgsImV4cCI6MTcwODM5NTM5OCwiaXNzIjoiQXV0b21hdGlvbkFueXdoZXJlIiwibmFub1RpbWUiOjI5OTg3MDkyNzIxNjc5MH0.p8xsnlec7-ZbPJBfDDk1Wq0k8RqAzzsL6bK7BOtLp_jY1NgQvdAO5Yra647-94JV2cY8Vbe5H7zObia3S9oQ9dFXrnmSSSYs3_x7e_-vkaNcwx1Ev3J7lymqnH8Xc73s-TTGyebRlXiI714Ii62DJ_vKBEUvNM47V0H1FQk6xIfpzJAMMDRFZWO3MUvowgD4L-O6xre0RLapCYOSVtH_0CbM0VBfNkuwDAnF1kQeCtpWIvv_nETy7A-UdSox9GqtDp9h2Elkl-v3KJ8kEru7qT4fWZlsuzFPL7XzqkALCP39N7fxOpzlCfHYGPooLRHcFLGIPxpqi1bkfsn-Xk2BfQ
Request body:
{
   "botInput":{
      "iStrZipCode":{
         "type":"STRING",
         "string":"95134"
      }
   }
}
Request parameters
Parameter Type Required Description
botInput Object No By default it is STRING. Possible values for type includes: STRING, NUMBER, BOOLEAN, FILE, ITERATOR, LIST, DICTIONARY, TABLE, VARIABLE, CONDITIONAL, WINDOW, TASKBOT, DATETIME, UIOBJECT, RECORD, EXCEPTION, CREDENTIAL, COORDINATE, IMAGE, REGION, PROPERTIES, TRIGGER, CONDITIONALGROUP, FORM, FORMELEMENT, HOTKEY, and WORKITEM.
Response:
{
   "hotBotResult":{
      "botOutput":{
         "State":{
            "type":"STRING",
            "string":"California"
         },
         "Place":{
            "type":"STRING",
            "string":"San Jose"
         }
      }
   }
}
Response parameters
Parameter Type Description
hotBotResult Object

Object containing the API Task output.

Request body example for a DICTIONARY input:
{
   "botInput":{
      "iStrZipCodes":{
         "type":"DICTIONARY",
         "dictionary":[
            {
               "key":"zipcode1",
               "value":{
                  "type":"STRING",
                  "string":"29486"
               }
            },
            {
               "key":"zipcode2",
               "value":{
                  "type":"STRING",
                  "string":"34747"
               }
            }
         ]
      }
   }
}
Request body example for a LIST input:
{
   "botInput":{
      "iStrZipCode2":{
         "type":"LIST",
         "list":[
            {
               "type":"STRING",
               "string":"29486"
            },
            {
               "type":"STRING",
               "string":"34747"
            }
         ]
      }
   }
}