Skip to main content
POST
Assign a course to specific users and/or groups.

Path Parameters

integer
required
The unique identifier of the course

Request Headers

string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.

Request Body

array
Array of user IDs to assign the course to
array
Array of group IDs to assign the course to
integer
Timestamp of date and time (UTC) when the course should be assigned
integer
Timestamp of date and time (UTC) of the deadline for course completion

Response

array
required
Users the course was successfully assigned to
array
required
Groups the course was successfully assigned to

Error Responses

object
Returned when the course is not found