Tasks > TaskFile
Creates a Task file
Changed onCreates a Task file
post/api/2026-10-01/resources/tasks/task_files
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/tasks/task_files
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: tasks
- or API key in header x-api-key
Request body multipart/form-data
Example request
{
"task_id": "1",
"file": "expenses.png"
}Response
CREATED
Example response
{
"id": "1",
"task_id": "1",
"filename": "expenses.png",
"content_type": "image/png",
"path": "/tasks/tasks_files/405",
"created_at": "2024-10-06"
}Changes
- info
endpoint added
- info