Domains
Create or update domain theme
Creates or updates theme settings for the domain. Colors are 6- or 8-character hex strings without the leading # (RRGGBB, or RRGGBBAA for transparency).
post/domains/theme/{domainId}
Request
- Base URL: https://api.short.io
- URL: https://api.short.io/domains/theme/{domainId}
- Auth: API key in header Authorization
Path parameters
domainIdinteger required
Domain ID
Request body
Example request
{
"primaryColor": "FF0000",
"secondaryColor": "FF0000",
"backgroundColor": "FF0000",
"contentBgColor": "FF0000",
"textColor": "FF0000",
"headingColor": "FF0000",
"linkColor": "FF0000",
"buttonTextColor": "FF0000",
"fontFamily": "Inter, sans-serif",
"customProperties": {
"--accent": "#ff0066"
}
}Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.