This endpoint serves the purpose of fetching company documents.
curl --request GET \
--url https://api.roostedhr.com/api/1_12/company/documents \
--header 'X-API-KEY: <api-key>'[
{
"id": 123,
"name": "Weekly Payroll",
"file_name": "Weekly_Payroll_2023",
"location": "https://schedulehead-files.nyc3.digitaloceanspaces.com/Weekly_Payroll_2023.pdf",
"date_added": "Dec 12th",
"type": "application/pdf",
"deleted": 0,
"date_deleted": null
},
{
"id": 321,
"name": "Company Logo",
"file_name": "company_logo",
"location": "https://schedulehead-files.nyc3.digitaloceanspaces.com/company_logo.png",
"date_added": "Dec 15th",
"type": "image/png",
"deleted": 0,
"date_deleted": null
}
]curl --request GET \
--url https://api.roostedhr.com/api/1_12/company/documents \
--header 'X-API-KEY: <api-key>'[
{
"id": 123,
"name": "Weekly Payroll",
"file_name": "Weekly_Payroll_2023",
"location": "https://schedulehead-files.nyc3.digitaloceanspaces.com/Weekly_Payroll_2023.pdf",
"date_added": "Dec 12th",
"type": "application/pdf",
"deleted": 0,
"date_deleted": null
},
{
"id": 321,
"name": "Company Logo",
"file_name": "company_logo",
"location": "https://schedulehead-files.nyc3.digitaloceanspaces.com/company_logo.png",
"date_added": "Dec 15th",
"type": "image/png",
"deleted": 0,
"date_deleted": null
}
]