Assign Records endpoint
The internal Record API provides the following endpoint for assigning a user to a record. It’s available to any user with Application and Assign entitlements.PATCH /api/v1/internal/records/assign/{record-id}
Path parameters
Request body
A successful call returns
200 OK confirming the assignment.
Getting a record ID
Therecord-id can be obtained from the Risk Cloud web application, from outbound emails, or via the Risk Cloud API.
From the web application
Open the record in the Risk Cloud web application and take the ID from the end of the URL:From email
Contextual Notifications can include the Record ID system field in outbound emails, which can then be parsed out of the email body for use with this endpoint.From the API
See Risk Cloud API: Record Search for obtaining record IDs via the API.Getting a user ID
From the web application
Navigate to Admin > Users, search for and select the user by clicking their email, and the user ID is shown under the User ID label.From the API
Use theid property of the user objects returned by the User API. To retrieve all users, see Risk Cloud API: Viewing Users. To look up a single user by email, use the internal User API:
GET /api/v1/internal/users?search-type=EMAIL&query={email}
Putting it together
- Look up the record ID and the user ID using the methods above.
- Call
PATCH /api/v1/internal/records/assign/{record-id}, substituting the record ID in the path. - Send
{ "id": "{user-id}", "status": "Active" }as the request body. - Expect a
200response confirming the assignment.