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

# Apply to Job

> Apply to a job posting

## Endpoint

```
POST /api/v1/job-seekers/me/applications
```

**Base URL**: `http://localhost:3000/api/v1`

<Note>This endpoint requires **Job Seeker authentication**.</Note>

## Headers

| Header        | Value                 |
| ------------- | --------------------- |
| Authorization | Bearer {access_token} |

## Request Body

<ParamField body="jobId" type="string" required>
  The unique identifier of the job to apply for (UUID).
</ParamField>

## Example Request

```json theme={null}
{
  "jobId": "uuid-of-the-job"
}
```

## Response

```json theme={null}
{
  "success": true,
  "data": {
    "id": "uuid"
  },
  "message": "Application submitted successfully",
  "meta": {
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST"
  }
}
```

## Error Responses

### 400 Bad Request - Validation Error

```json theme={null}
{
  "success": false,
  "error": {
    "message": ["jobId must be a UUID"],
    "statusCode": 400,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST",
    "details": "Bad Request"
  }
}
```

### 401 Unauthorized

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Unauthorized",
    "statusCode": 401,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST",
    "details": "Unauthorized"
  }
}
```

### 403 Forbidden

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Forbidden resource",
    "statusCode": 403,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST",
    "details": "Forbidden"
  }
}
```

### 404 Not Found

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Job not found",
    "statusCode": 404,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST",
    "details": "Not Found"
  }
}
```

### 409 Conflict

```json theme={null}
{
  "success": false,
  "error": {
    "message": "You have already applied to this job",
    "statusCode": 409,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/job-seekers/me/applications",
    "method": "POST",
    "details": "Conflict"
  }
}
```
