Upload Media to Space
Upload Media to Space — Taskade REST API v1 reference: POST /medias/spaces/{spaceId}/upload. Parameters, authentication, and response schema.
post
Upload a media file to a space (root workspace or subspace / app). Send the file as the raw request body with the appropriate Content-Type header (e.g. image/png, application/pdf, application/octet-stream). Pass the original filename as the filename query parameter.
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired
The space ID to upload media into (can be a root workspace or a subspace / app).
Query parameters
filenamestringRequired
Original filename of the uploaded file (e.g. "photo.png").
Responses
200
Uploaded media file details
application/json
Uploaded media file details
okboolean · enumRequiredPossible values:
4XX
Error description
application/json
post/medias/spaces/{spaceId}/upload
POST /api/v1/medias/spaces/{spaceId}/upload?filename=text HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"item": {
"mediaId": "abc123DEF456",
"fileId": "abc123DEF456",
"kind": "example",
"downloadUrl": "https://example.com"
}
}Last updated
Was this helpful?