Uploading Icons and Logos
To add icons and logos to a theme, they first need to be uploaded to the Meetings API AWS bucket, and then paired with the respective theme. You should also ensure that your Logos and Favicons adhere to the Image Requirements below.
Requirements
The type of images should be uploaded based on the background color. Colored images should be used for a light background, while a lighter image should be used on a dark background.
Logo requirements:
- Format: PNG
- Maximum size: 1MB
- Dimensions: 1 px - 300 px
- Background must be transparent
Favicon requirements:
- Format: PNG
- Maximum size: 1MB
- Dimension: 16 x 16 - 32 x 32 and must be square
- Background must be transparent
Logo upload
Unlike Server SDKs, the process requires 3 steps with cURL.
1. Retrieve Upload Credentials
Example Request
Use a
Policy will be your JWT. Grab the values for the image type you wish to upload.Example Response
2. Upload Your File to AWS
Copy all values from the response above for the image type you wish to upload, and paste them in the body of this request. Add the file path to your image as well.
This will return a 204 if successful. If you get an error like "Check your key and signing method", check the spaces and formatting of the message body.
3. Add Keys to Theme
Use the theme ID of the theme you wish to update, along with the key used in the previous step, to link the logo with the theme that you wish to update. You can even make multiple upload calls, and then pass multiple keys to the theme update.
Once the images are associated with a theme, you'll be able to see their details reflected in the response of a theme brand_image_colored_url, brand_image_white_url and branded_favicon_url values will contain the AWS Bucket Key, and their respective URLs will point to the image itself.
Our SDKs make it easy by exposing a single method to call.
Our SDKs make it easy by exposing a single method to call.
| Key | Description |
|---|---|
JWT | Used to authenticate your request. See Authentication for more information, including how to generate a JWT. |
VONAGE_APPLICATION_ID | The Vonage Application ID. |
VONAGE_APPLICATION_PRIVATE_KEY_PATH | Private key path. |
THEME_ID | The theme UUID. |
THEME_LOGO_TYPE | Indicates the type of the logo. Must be one of |
LOGO_FILEPATH | Local path to the logo. |
Our SDKs make it easy by exposing a single method to call.
Our SDKs make it easy by exposing a single method to call.