GETAccess & setup
Get setup theme
Retrieve branding, input configuration, locales, and expected image dimensions for a setup.
GET
/apiv1/themeReturns setup-specific assets and behavior used by applications before or after user login. Authenticate with an API key or token. A configured theme secret can be used when theming is needed before login.
Response
{
"app_name": "Demo",
"branding": {
"colors": {
"header_text": "#1B96FE",
"header_background": "#F6F6F6",
"primary_button_text": "#FFFFFF",
"primary_button_background": "#1B96FE"
},
"assets": {
"logo": {
"url": "https://demo.photocollect.io/themes/demo/img/app-logo.png",
"checksum": "9187127bbb4325f4b7137dc9f772d529"
}
}
},
"input_fields": {
"enduser_contact": {
"display": true,
"required": false,
"accept": ["phone", "email"]
},
"enduser_locale": {
"display": true,
"values": ["en_US", "de_CH"]
}
},
"image_size": {
"width": 1200,
"height": 1536
}
}
An invalid pre-login secret returns HTTP 401 with ACCESS_DENIED.