Upload Asset
POST
https://picnie.com/api/v1/upload-assetUpload an image to your Picnie media library, returning an image_url for further use.
Headers
| Name | Type | Description |
|---|---|---|
Authorization* | string | Pass api key in the authorization field Example: |
Body Parameters
| Name | Type | Description |
|---|---|---|
image* | file | The image file to upload. Example: |
Notes
⚠️ Authentication required
curl -X POST "https://picnie.com/api/v1/upload-asset"
-H "Authorization: YOUR_API_KEY"
-F "image=@/path/to/boost-space.png"Responses
200200 OK
{
"image_url": "https://picnie.s3.ap-south-1.amazonaws.com/user_assets/user_10/raw_250619_boost-space.png",
"error": false,
"message": "Successfully uploaded."
}