Media

POST /medias/spaces/{spaceId}/upload

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.

Request

  • Base URL
    https://www.taskade.com/api/v1
  • Auth
    OAuth 2 and HTTP bearer
    Authorization code: https://www.taskade.com/oauth2/authorize
    Token URL: https://www.taskade.com/oauth2/token

Path parameters

spaceIdstring required

The space ID to upload media into (can be a root workspace or a subspace / app).

Query parameters

filenamestring required

Original filename of the uploaded file (e.g. "photo.png").

Response

Uploaded media file details

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.