Skip to main content
POST
/
api
/
public
/
courses
/
{id}
/
signup
Enrol in Course
curl --request POST \
  --url https://spaces.nexudus.com/api/public/courses/{id}/signup \
  --header 'Authorization: Basic <encoded-value>'

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

id
number
required
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}
HTTP/1.1 200 OK

TypeScript Integration

import endpoints from '@/api/endpoints'

await httpClient.post(endpoints.courses.enroll(42).url)