Assets
Upload Asset
Upload a new media file to the project
POST
Upload a new asset to the project. This endpoint accepts multipart/form-data for file uploads.
This endpoint uses
multipart/form-data, not JSON. The file is sent as binary data.Path Parameters
The unique identifier of the organization
The unique identifier of the project
Request Body
The file to upload. Supported formats include images (JPEG, PNG, GIF, WebP, AVIF), videos (MP4, MOV, WebM), and documents (PDF).
JSON string containing metadata object. Will be parsed and stored with the asset.
JSON string array of tag IDs to associate with the asset.
Response
Returns the created Asset object.The newly created asset object with generated ID and CDN URL