Skip to main content

Update Records endpoint

The Record API offers an Update Records endpoint that updates the values on a given record. This endpoint requires that the user whose API token is being used for the request has write access to the record.
Request body

Resources

Get record ID

The record-id can be obtained from the Risk Cloud web application, emails, or via the Risk Cloud API. Using the Risk Cloud application: Open the desired record in the Risk Cloud web application and take the ID from the end of the URL:
Using email: Contextual Notifications support setting Custom Fields and System Fields in outbound emails. Record ID is a System Field that can be included in outbound emails, letting you parse it out of the email for use in an update request. Using the Risk Cloud API: See Record Search to obtain record IDs via the Risk Cloud API.

Expected values for field types

Different field types expect different string formats in the values array:

Get field ID

The field ID for the fieldId property can be obtained from the Risk Cloud web app or from the API. Web app environment:
  • Navigate to Build > Applications.
  • Search for and open the application containing the step.
  • Open the workflow containing the step.
  • Open the step.
  • Open the field for editing.
  • The field ID is shown in the Field ID section.
Risk Cloud API:
The field ID can be located in the id property of field objects returned in the content property of the response.

Update Record Due Date endpoint

The Record API also offers an endpoint that updates the due date value on a given record. This endpoint requires that the user whose API token is being used for the request has write access to the record.
This endpoint accepts a datetime value as the request body, in the format YYYY-MM-DDTHH:MM:SS.000Z. Make sure the request body contains only the datetime value you wish to set. For example:

Response

Returns the fully updated Record object, including the updated due date:
The response includes the full record object; only the relevant fields are shown above.