---
title: "Whether image uploads are available on this deployment"
description: "Object storage is optional deployment configuration."
canonical_url: "https://twominutebilling.com/help/developers/api-reference/businesses/whether-image-uploads-are-available-on-this-depl"
---
# Whether image uploads are available on this deployment

> Object storage is optional deployment configuration.

<api-operation method="GET" path="/v1/brand_images/capability">
<template v-slot:docs="">

Check this before offering an upload control: when `upload_enabled` is false, set the brand image fields to an externally hosted https URL instead.

## Response

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        object
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      The object type.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        upload_enabled
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      false when this deployment has no object storage configured
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accepts
      </code>
    </td>
    
    <td>
      <code>
        object
      </code>
    </td>
    
    <td>
      The content types each asset accepts. <code>
        logo
      </code>
      
       and <code>
        signature
      </code>
      
       are narrower than the rest because they are embedded in the invoice PDF, which cannot carry GIF or WebP. Read this rather than hard-coding a file filter.
    </td>
  </tr>
</tbody>
</table>

## Status codes

<table>
<thead>
  <tr>
    <th>
      Status
    </th>
    
    <th>
      Meaning
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        200
      </code>
    </td>
    
    <td>
      Success
    </td>
  </tr>
</tbody>
</table>
</template>

<template v-slot:request="">

```bash [Request]
curl "$TMBILLING_URL/v1/brand_images/capability" \
  -H "Authorization: Bearer $TMBILLING_API_KEY"
```

</template>

<template v-slot:response="">

```json [200 OK]
{
  "object": "brand_image_capability",
  "upload_enabled": false,
  "accepts": {
    "logo": [
      "Logo"
    ],
    "icon": [
      "Icon"
    ],
    "favicon": [
      "Favicon"
    ],
    "signature": [
      "Signature"
    ],
    "product": [
      "pro"
    ]
  }
}
```

</template>
</api-operation>


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
