- Get started
- Workspace
- Task Manager
- Project
- Board
- BoardColumn
- Task
- Custom Fields
- CRM
- Funnels
- Funnel Statuses
- Deals
- Organizations
- Contacts
- Currencies
- User
- Attachments
Upload attachments
POST
https://api.weeek.net/public/v1/tm/tasks/{task_id}/attachments
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
task_id
string
required
Body Params multipart/form-data
files[]
file
required
Responses
🟢200Success
application/json
Body
success
boolean
required
data
object (Attachment)
required
id
string <uuid>
required
creatorId
string <uuid>
required
service
enum<string>
required
Allowed values:
weeekgoogle_drivedropboxone_drivebox
name
string
required
url
string <uri>
required
service
is weeek
, this URL will be available for an hour.size
integer
optional
service
is weeek
createdAt
string <date-time>
required
Example
{
"success": true,
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"creatorId": "688ebf54-d343-4104-8711-82c2feac534a",
"service": "weeek",
"name": "string",
"url": "http://example.com",
"size": 0,
"createdAt": "2019-08-24T14:15:22Z"
}
}
Modified at 2024-04-18 18:57:08