> ## 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.

# Get All Applications

> Retrieve all applications across all company job postings

## Endpoint

```
GET /api/v1/companies/me/applications
```

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

<Note>This endpoint requires **Company authentication**.</Note>

## Headers

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

## Query Parameters

<ParamField query="jobId" type="string" optional>
  Filter by specific job ID.
</ParamField>

<ParamField query="status" type="enum" optional>
  Filter by application status. Can be repeated for multiple values. - `PENDING` - `REVIEWED` -
  `SHORTLISTED` - `INTERVIEW_SCHEDULED` - `REJECTED` - `HIRED` - `WITHDRAWN`
</ParamField>

<ParamField query="page" type="number" optional>
  Page number for pagination (default: 1).
</ParamField>

<ParamField query="limit" type="number" optional>
  Number of results per page (default: 20).
</ParamField>

## Request Examples

### Pagination only

```bash theme={null}
# Page 1, 20 items (defaults)
GET /api/v1/companies/me/applications

# Page 2, 50 items per page
GET /api/v1/companies/me/applications?page=2&limit=50
```

### Filter by job

```bash theme={null}
# Applications for a specific job
GET /api/v1/companies/me/applications?jobId=550e8400-e29b-41d4-a716-446655440000
```

### Filter by status (single)

```bash theme={null}
# All pending applications across all jobs
GET /api/v1/companies/me/applications?status=PENDING

# All hired candidates
GET /api/v1/companies/me/applications?status=HIRED
```

### Filter by status (multi-value)

```bash theme={null}
# Pending + Reviewed
GET /api/v1/companies/me/applications?status=PENDING&status=REVIEWED

# Active pipeline statuses
GET /api/v1/companies/me/applications?status=PENDING&status=REVIEWED&status=SHORTLISTED&status=INTERVIEW_SCHEDULED

# Rejected + Withdrawn (archived)
GET /api/v1/companies/me/applications?status=REJECTED&status=WITHDRAWN
```

### Combined filters

```bash theme={null}
# Pending applications for a specific job
GET /api/v1/companies/me/applications?jobId=550e8400-e29b-41d4-a716-446655440000&status=PENDING

# Active pipeline for a specific job
GET /api/v1/companies/me/applications?jobId=550e8400-e29b-41d4-a716-446655440000&status=PENDING&status=REVIEWED&status=SHORTLISTED&status=INTERVIEW_SCHEDULED

# Hired candidates for a specific job
GET /api/v1/companies/me/applications?jobId=550e8400-e29b-41d4-a716-446655440000&status=HIRED

# All filters combined
GET /api/v1/companies/me/applications?jobId=550e8400-e29b-41d4-a716-446655440000&status=PENDING&status=REVIEWED&page=1&limit=20
```

## Response

```json theme={null}
{
  "success": true,
  "data": {
    "applications": [
      {
        "id": "uuid",
        "status": "PENDING",
        "appliedAt": "2025-02-20T10:00:00Z",
        "updatedAt": "2025-02-20T10:00:00Z",
        "matchScore": 85,
        "jobSeeker": {
          "id": "uuid",
          "firstName": "John",
          "lastName": "Doe",
          "profileImageUrl": "https://...",
          "profile": {
            "title": "Software Engineer",
            "location": "Cairo, Egypt",
            "yearsOfExperience": 3
          }
        },
        "directJob": {
          "id": "uuid",
          "title": "Software Engineer",
          "location": "Cairo, Egypt",
          "jobType": "FULL_TIME"
        }
      }
    ],
    "total": 50,
    "page": 1,
    "limit": 20,
    "totalPages": 3
  },
  "message": "Applications retrieved successfully",
  "meta": {
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me/applications",
    "method": "GET"
  }
}
```

## 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": "/companies/me/applications",
    "method": "GET",
    "details": "Bad Request"
  }
}
```

### 401 Unauthorized

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

### 403 Forbidden

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