List URLs that can be used to upload logos for a theme

This code snippet shows how to list URLs that can be used to upload logos for a theme using the Meetings API.

See the API Reference for more information.

Example Request

Where needed, replace the following variables in the sample code with your own values:

KeyDescription
JWT

Used to authenticate your request. See Authentication for more information, including how to generate a JWT.

Write the code

Add the following to list-logo-upload-urls.sh:

curl -X GET https://api-eu.vonage.com/meetings/themes/logos-upload-urls \
  -H "Authorization: Bearer $JWT"

View full source

Run your code

Save this file to your machine and run it:

sh list-logo-upload-urls.sh

Example Response

[
   {
      "url": "https://storage-url.com",
      "fields": {
         "Content-Type": "image/png",
         "key": "auto-expiring-temp/logos/white/ca63a155-d5f0-4131-9903-c59907e53df0",
         "logoType": "favicon",
         "bucket": "roomservice-whitelabel-logos-prod",
         "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
         "X-Amz-Credential": "ASSCSSQSAMKJISDGBW/20220410/us-east-1/s3/aws4_request",
         "X-Amz-Date": "20220410T200246Z",
         "X-Amz-Security-Token": "IQoJb3JpZ2luX2VjEBIaCXVzLWVhc3QtMSJHMEUCIDMxvPG4",
         "Policy": "eyJleHBpcmF0aW9uIjoiMjAyMy0wNi0wN1QxMjo0Njo0MFo",
         "X-Amz-Signature": "fcb46c1adfa98836f0533aadebedc6fb1edbd90aa583f3264c0ae5bb63d83123"
      }
   }
]