Departments
List departments for the authenticated user
Returns departments created by the authenticated user. Supports optional search by department name.
get/api/departments
Request
- Base URLhttps://skillspark.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
searchstring
Example:Sales
Filter departments by name (partial match)
Response
List of departments
Example response
{
"success": true,
"data": [
{
"id": 1,
"department_name": "Sales"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.