Skip to main content
Records can be imported in bulk from CSV and XLSX files in the Risk Cloud web application. The same functionality is available through the Risk Cloud API’s Bulk Import endpoints. Obtain your API Access Token or pull the Risk Cloud Postman Collection to get started — see Authentication and the Postman guide.

Bulk Import Records endpoint

The internal Record API’s Bulk Import Records endpoint creates records on a given step from a CSV or XLSX payload structured according to a Risk Cloud layout. It’s available to any user with the Import entitlement. POST /api/v1/internal/records/import?step={step-id}&layout={layout-id}

Query parameters

Request

The CSV or XLSX file’s headers must match the field names in the specified layout. For example, a layout with custom fields “Title”, “Description”, and “Amount” would accept:
Send the file as multipart/form-data with a key named file:

Response

Bulk Import Status endpoint

The import runs asynchronously. Poll the status endpoint until status is COMPLETED. POST /api/v1/internal/records/import/{id}

Response

Getting a layout ID

The layout defines the field columns of the CSV/XLSX file. Custom layouts can be created for specific integration use cases.

From the web application

Open the layout from Build > Layouts and take the ID from the end of the URL:

From the API

GET /api/v1/layouts Returns all layouts the user is entitled to as an Admin, Builder, or Step Permission Set grantee. If no layouts are returned, check the requesting user’s permissions.
Filter the returned objects by workflow, application, or title to find the intended layout.

Getting a step ID

From the web application

Navigate to Build > Applications, open the application and workflow containing the step, then open the step. The step ID is in the URL: https://environment.logicgate.com/build/steps/{step-id}.

From the API

GET /api/v2/steps Returns step objects with an id property in the response’s content array.