Skip to main content

Background

When working with the Risk Cloud API, Field IDs are commonly required for tasks such as updating Records. The following endpoint returns an array of Field objects that exist within a given Workflow. Before making these requests you’ll need a bearer token — see Authentication.

Usage

Obtaining all Fields of a Workflow requires two steps:
  1. Obtain a Workflow ID.
  2. Request the Workflow’s Fields.

Step 1: Obtain a Workflow ID

To retrieve Workflow IDs in your environment, make the following request:
The response contains an array of all Applications. Workflow IDs are located as the values of id properties within workflows objects in the JSON:
See View Applications, Workflows, and Steps for the full response shape.

Step 2: Request the Workflow’s Fields

With a Workflow ID in hand, retrieve all Fields on that Workflow:
The response contains a list of all Fields on the given Workflow. Field IDs from this response can be used to update Records or read current Field values. Response fields

Next steps

Use a Field ID from this response with Upload Attachments to attach a file, or with View Field Audits to see that field’s value history.