Upload
Import image from URL
Synchronously fetches an image from a public URL and ingests it as an UploadedImage asset.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/upload/from-url" \ -H "Content-Type: application/json" \ -d '{ "url": "string" }'{
"asset_id": "string",
"filename": "string",
"url": "string",
"project_id": null,
"tags": []
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty