Enrol in Course
Registers the authenticated customer as an enrolled participant in the specified course. After enrolment, the customer can access lessons and track progress.
Authentication
Requires a valid customer bearer token.
Path Parameters
Numeric identifier of the course to enrol in. Returned as Id from GET /api/public/courses/v2.
Request Body
No request body required.
Response
Returns a 200 OK on successful enrolment.
Examples
Enrol in a course
POST /api/public/courses/42/signup
Authorization: Bearer {token}
TypeScript Integration
import endpoints from '@/api/endpoints'
await httpClient.post(endpoints.courses.enroll(42).url)