GET
/api/public/v1/job-titlesList job titles
List job titles across all departments, or filter by department.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
departmentId | string | Optional | Filter 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"
}
}
]
}
}