Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ericcobasdev/careertrack-api/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve all job applications belonging to the authenticated user. Results are ordered with the most recently created application first.

Endpoint

GET /api/applications
This endpoint requires authentication. Include a valid Bearer token in the Authorization header of every request.
The JobApplication model defines a scopeFilter scope that supports filtering by status, company, from, and to. However, the current index() controller implementation calls JobApplication::latest()->get() directly and does not apply this scope. All applications belonging to the authenticated user are returned regardless of any query parameters sent.

Example Request

curl https://your-domain.com/api/applications \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"

Response

200 OK

Returns a JSON object with a data array containing all matching job application resources.
{
  "data": [
    {
      "id": 1,
      "user_id": 1,
      "company_name": "Acme Corp",
      "position_title": "Backend Developer",
      "status": "applied",
      "source": "LinkedIn",
      "source_url": "https://linkedin.com/jobs/123",
      "salary_min": 50000,
      "salary_max": 70000,
      "location": "Remote",
      "notes": "Promising role.",
      "applied_at": "2024-05-01T00:00:00.000000Z",
      "next_step_at": null,
      "created_at": "2024-05-01T10:00:00.000000Z",
      "updated_at": "2024-05-01T10:00:00.000000Z"
    }
  ]
}
data
array
required
An array of job application objects. Empty array [] if the user has no applications.

401 Unauthorized

Returned when the Authorization header is missing or the token is invalid.
{
  "message": "Unauthenticated."
}

Build docs developers (and LLMs) love