Setting up a REST API Call
To begin setting up the steps of your workflow, click the blue pencil icon to the right of the workflow name to edit the workflow you have created.

After opening the workflow, hover over the item you want to edit and click the blue pencil icon to the right of the activity name to edit that activity.

When you create an activity as a REST API call, the window will ask for the URL and the method, and have text boxes for the body of the call and the headers (if needed). The body and header boxes can be expanded by pulling down on the lower right-hand corner of the box. (Body box is shown expanded in the screen print below.)

For this call, the URL is added, the method (POST) selected using the drop down arrow to the right of that line, and the body of the call pasted into the 'Body' section in JSON format. The TDO API calls do not require headers, so these are left blank. If your API call requires headers, they should be entered in the 'Header' section at the bottom of the window.
Once the call information is entered, click 'Save' to save the details.
If your API does not require any body text, the setup window will only contain the URL.

Last updated
Was this helpful?