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:multipart/form-data with a key named file:
Response
Bulk Import Status endpoint
The import runs asynchronously. Poll the status endpoint untilstatus 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.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 anid property in the response’s content array.