Skip to main content
POST
/
operations
/
v1
/
review-assignments
Bulk assign reviews
curl --request POST \
  --url https://api.{workspaceId}.clinia.cloud/operations/v1/review-assignments \
  --header 'Content-Type: application/json' \
  --header 'X-Clinia-API-Key: <api-key>' \
  --data '
{
  "operationIds": [
    "<string>"
  ],
  "reviewerId": "<string>"
}
'
{
  "results": [
    {
      "operationId": "<string>",
      "assignment": {
        "id": "<string>",
        "operationId": "<string>",
        "reviewerId": "<string>",
        "assignerId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      },
      "error": {
        "message": "<string>",
        "details": "<array>",
        "additionalContext": {}
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.clinia.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Clinia-API-Key
string
header
required

Body

application/json
operationIds
string[]
required

List of operation IDs to assign. Existing assignments are overwritten.

Minimum array length: 1
reviewerId
string
required

ID of the user to assign to the reviews.

Response

A successful response. Check status for an overall summary and each result's status for per-operation outcome.

status
enum<string>
required
Available options:
SUCCESS,
FAILURE
results
object[]
required