Authorizations
Publisher token, as displayed in the Publisher Dashboard.
Body
- Upload via File
- Upload via URL
Upload asset via file.
Asset category.
Available options:
product, badge, bgMobile, bgDesk, logo, favicon, bgBundle, bgPopup, general, section, productPrefix, playerLevel, banner, addToHomeButtonImage, addToHomeIconImage, playerProfileImage, offerHeader, backToGameButtonImage, animation, trait Example:
"product"
Asset name.
Example:
"gold_coins_icon"
A valid PNG or JPEG image file. Maximum size is 2 MB.
Response
Asset uploaded successfully.
Asset ID.
Example:
"507f1f77bcf86cd799439011"
Asset name.
Example:
"gold_coins_icon"
Asset category.
Available options:
product, badge, bgMobile, bgDesk, logo, favicon, bgBundle, bgPopup, general, section, productPrefix, playerLevel, banner, addToHomeButtonImage, addToHomeIconImage, playerProfileImage, offerHeader, backToGameButtonImage, animation, trait Example:
"product"
URL of image stored on Appcharge CDN.
Example:
"https://cdn.appcharge.com/507f1f77bcf86cd799439011_product.png"
MIME type of image (e.g., image/png, image/jpeg).
Example:
"image/png"
Original URL of the image if uploaded via external link.
Example:
"https://example.com/assets/gold_coins_icon.png"
