Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chamals3n4/OpenATS/llms.txt
Use this file to discover all available pages before exploring further.
Get Company Profile
Response
Company profile object
Example Request
Example Response
Error Codes
Failed to fetch company
Update Company Profile
Request Body
Company name (1-255 characters)
Valid company email address
Valid URL for company website (max 500 characters)
Company phone number (max 50 characters)
Company physical address
Company description
Valid URL to company logo (max 1000 characters)
Response
Updated company profile object
Example Request
Error Codes
Validation failed - Invalid input data
Failed to upsert company
List All Departments
Response
Array of department objects
Example Request
Error Codes
Failed to fetch departments
Create Department
Request Body
Department name (1-255 characters)
Response
Created department object
Example Request
Error Codes
Validation failed OR Company must be set up before creating departments
Department name already exists
Failed to create department
Update Department
Path Parameters
Department ID
Request Body
Updated department name (1-255 characters)
Response
Updated department object
Example Request
Error Codes
Invalid department ID OR Validation failed
Department not found
Department name already exists
Failed to update department
Delete Department
Path Parameters
Department ID to delete
Response
Deleted department object
Example Request
Error Codes
Invalid department ID
Department not found
Cannot delete department that has jobs assigned to it
Failed to delete department