PUT
/
assessment
/
orders
/
{assessment_order_id}
/
result
curl --request PUT \
  --url https://api.kombo.dev/v1/assessment/orders/{assessment_order_id}/result \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Integration-Id: <x-integration-id>' \
  --data '{
  "status": "COMPLETED",
  "score": 90,
  "max_score": 100,
  "result_url": "https://example.com",
  "completed_at": "2023-04-04T00:00:00.000Z",
  "attributes": [
    {
      "field": "remarks",
      "value": "Test completed with passing score"
    }
  ]
}'
{
  "status": "success",
  "data": {}
}

Example Request Body

{
  "status": "COMPLETED",
  "score": 90,
  "max_score": 100,
  "result_url": "https://example.com",
  "completed_at": "2023-04-04T00:00:00.000Z",
  "attributes": [
    {
      "field": "remarks",
      "value": "Test completed with passing score"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Path Parameters

assessment_order_id
string
required

PUT /assessment/orders/:assessment_order_id/result parameter

Body

application/json
status
enum<string>
required

Status of the assessment. Must be one of COMPLETE or CANCELLED.

Available options:
COMPLETED,
CANCELLED,
OPEN
result_url
string
required
completed_at
string
required

YYYY-MM-DDTHH:mm:ss.sssZ

score
number
max_score
number
attributes
object[]

Response

200 - application/json
status
enum<string>
required
Available options:
success
data
object
required