# Brand kit logos

## Upload brand kit logos

This endpoint makes an HTTP GET request to upload logos to a brand kit.

### Request

* Method: POST
* Endpoint: `https://api.thebrief.ai/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.thebrief.ai/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:&#x20;

* jpg, jpeg, png, svg

Max sizes for media files: 20 MB.&#x20;

For now, we only allow uploading from valid public direct links, not from Google Drive, Dropbox, or other sources.

### Response

The response will be in JSON format with the following schema:

```json
{
    "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"
            }
        }
    ]
}
```
