Skip to main content
POST
/
v3
/
teams
/
{team}
/
custom-domains
/
{domain}
/
assets
/
{type}
Upload Asset
curl --request POST \
  --url https://app.plugchoice.com/api/v3/teams/{team}/custom-domains/{domain}/assets/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "message": "<string>",
  "url": "<string>"
}
Uploads a branding asset for a custom domain. The accepted file types and size limits depend on the asset type.
team
string
required
The UUID of the team.
domain
integer
required
The ID of the custom domain.
type
string
required
The type of asset to upload. One of favicon, logo, or splash.
TypeAccepted formatsMax size
faviconSVG, ICO, PNG512 KB
logoSVG, PNG, JPG, JPEG, WebP1 MB
splashPNG, JPG, JPEG, WebP2 MB
file
file
required
The image file to upload.

Response

message
string
A confirmation message (e.g., Favicon updated.).
url
string
The public URL of the uploaded asset.