Assets
Upload an asset
Uploads an image to use in a template.
POST
Upload images before you create a template, then reference the returned
id in the template’s definition.images. Assets are shared by test and live.
string
required
A unique value for this request.
string
required
Where the image goes on the pass:
icon, logo, strip, thumbnail, background, footer or hero.string
required
The image file, base64-encoded. Up to 5 MiB, and from 16 to 4000 pixels on each side.
string
The file’s MIME type, such as
image/png. TapAce checks the file itself, so this is optional.Response
string
Unique ID, starting with
asset_.string
The slot the image was uploaded for.
string
The stored image’s MIME type.
integer
The stored image’s size in bytes.
integer
Width in pixels.
integer
Height in pixels.