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 a single job application by its unique ID. The application must belong to the authenticated user. Returns the full resource object including all stored fields.

Endpoint

GET /api/applications/{id}
This endpoint requires authentication. Include a valid Bearer token in the Authorization header of every request.

Path Parameters

id
integer
required
The unique numeric ID of the job application to retrieve.

Example Request

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

Response

200 OK

Returns the job application resource as a JSON object.
{
  "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, responded quickly.",
    "applied_at": "2024-05-01T00:00:00.000000Z",
    "next_step_at": "2024-05-10T14:00:00.000000Z",
    "created_at": "2024-05-01T10:00:00.000000Z",
    "updated_at": "2024-05-01T10:00:00.000000Z"
  }
}
data
object
required
The requested job application object.

401 Unauthorized

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

404 Not Found

Returned when no application with the given ID exists, or the application does not belong to the authenticated user.
{
  "message": "No query results for model [App\\Models\\JobApplication] 1"
}

Build docs developers (and LLMs) love