Skip to content

Upload a theme image

Request

Post an upload object for one of the images in the account's Theme

Security
bearerToken
Path
contextTypestringrequired
contextIdstringrequired
Bodyapplication/jsonrequired
themeImageTypestringrequired

The type of theme image to create an upload object for

Enum:"FAVICON""LOGO""HOMEPAGE_IMAGE""LOGIN_IMAGE"
Example:"FAVICON"
curl -i -X POST \
  'https://api-v2.dash.app/context-types/{contextType}/contexts/{contextId}/theme-image-uploads' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "themeImageType": "FAVICON"
  }'

Responses

Success

Bodyapplication/json
urlstringrequired

The URL that can be used to upload an image

Example:"https://example.com"
Response
{ "url": "https://example.com" }