> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enrol in Course

> Enrols the authenticated customer in a published course.

# 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

<ParamField path="id" type="number" required>
  Numeric identifier of the course to enrol in. Returned as `Id` from `GET /api/public/courses/v2`.
</ParamField>

## Request Body

No request body required.

## Response

Returns a `200 OK` on successful enrolment.

## Examples

### Enrol in a course

```http theme={null}
POST /api/public/courses/42/signup
Authorization: Bearer {token}
```

```
HTTP/1.1 200 OK
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

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