Publish the course a finished run wrote, so it can be assigned
POST
/v1/integration-api/course-runs/{id}/publish
const url = 'https://api.academy.example.com/v1/integration-api/course-runs/example/publish';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.academy.example.com/v1/integration-api/course-runs/example/publish \ --header 'Authorization: Bearer <token>'Versioned integration contract.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
id
required
string format: uuid
title
required
string
language
required
string | null
status
required
string
stage
required
string | null
costEur
required
number
costCapEur
required
number | null
hardCapEur
required
number | null
courseStatus
required
string | null
error
required
string | null
createdAt
required
string format: date-time
Example
{ "id": "6f1c2a10-0000-4000-8000-000000000101", "title": "Arbeitsschutz im Lager", "language": "de", "trainerId": "6f1c2a10-0000-4000-8000-0000000000a3", "status": "done", "stage": null, "waitReason": null, "costEur": 2.41, "costCapEur": 3, "hardCapEur": null, "courseId": "6f1c2a10-0000-4000-8000-0000000000c1", "courseStatus": "published", "error": null, "createdAt": "2026-11-03T08:00:00.000Z", "startedAt": "2026-11-03T08:00:00.000Z", "finishedAt": "2026-11-03T08:00:00.000Z"}default
Section titled “default”Error; error and message identify the reason
Media typeapplication/json
object
error
required
Stable code, e.g. insufficient_scope, not_found, validation_failed
string
message
string
Example generated
{ "error": "example", "message": "example"}