Skip to main content
GET
/
lms
/
courses
/
bulk
/
{task_id}
Get status of “Upsert courses” task
curl --request GET \
  --url https://api.kombo.dev/v1/lms/courses/bulk/{task_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Integration-Id: <x-integration-id>'
{
  "status": "<string>",
  "data": {
    "task_id": "<string>",
    "created_at": "<string>",
    "status": "<string>",
    "completed_at": null
  }
}
This endpoint returns the current status of a task. Poll it at regular intervals until the task reaches a terminal status. The possible statuses are:
  • PENDING – The task is still being processed.
  • COMPLETED – The task finished successfully. The data field contains the results.
  • FAILED – The task encountered an error. Check the error field for details.

Authorizations

Authorization
string
header
required

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

task_id
string
required

GET /lms/courses/bulk/:task_id Parameter

Response

GET /lms/courses/bulk/:task_id Positive response

status
string
required
Allowed value: "success"
data
object
required