GET
/api/public/v1/job-titles

List job titles

List job titles across all departments, or filter by department.

Query Parameters

NameTypeRequiredDescription
departmentIdstringOptionalFilter to a specific department.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/job-titles" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Job titles retrieved successfully!",
  "content": {
    "jobTitles": [
      {
        "id": "jt_1",
        "name": "Software Engineer",
        "department": {
          "id": "dept_1",
          "name": "Engineering"
        }
      }
    ]
  }
}