Brand kit logos
Last updated
Last updated
This endpoint makes an HTTP GET request to upload logos to a brand kit.
Method: POST
Endpoint: https://api.creatopy.com/v1/brandkit/uploadLogos
Body:
brandkitId
(integer, required): The id of the brand kit.
sources
([string], required): The source url of the logos.
curl --location 'https://api.creatopy.com/v1/brandkit/uploadLogos' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJ...' \
--data '{
"brandkitId": 123456,
"sources": [
'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/eff1.svg',
'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/eff2.svg',
]
}'
Valid media file extensions:
jpg, jpeg, png, svg
Max sizes for media files: 20 MB.
For now, we only allow uploading from valid public direct links, not from google drive, dropbox or other sources.
The response will be in JSON format with the following schema:
{
"response": [
{
"id": 494270,
"hash": "zp1o5x",
"name": "eff1",
"fileName": "eff1.svg",
"type": "IMAGE",
"format": "svg",
"status": "VALID",
"height": 84,
"width": 120,
"size": 370,
"duration": null,
"url": null,
"createdBy": 50,
"createdByUser": {
"id": 50,
"name": "User Name"
}
},
{
"id": 494271,
"hash": "8wrk4d",
"name": "eff2",
"fileName": "eff2.svg",
"type": "IMAGE",
"format": "svg",
"status": "VALID",
"height": 84,
"width": 120,
"size": 370,
"duration": null,
"url": null,
"createdBy": 50,
"createdByUser": {
"id": 50,
"name": "User name"
}
}
]
}