v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBPass Templates > Images
Get Image From Pass Template Of Type And Resolution
Get Image from Pass Template of Type and Resolution
Retrieves an image of a specific type and resolution associated with a pass template.
Parameters:
- type (PassImageType): The type of the image.
- resolution (PassImageResolution): The resolution of the image.
- template (Template): The pass template.
- temp_file (IO): A temporary file object for image storage.
Returns:
- FileResponse: The image file response.
get/v2/templates/{templateId}/images/{type}/{resolution}
Path parameters
type'logo' | 'icon' | 'strip' | 'footer' | 'background' | 'thumbnail' required
Supported images Boarding pass: logo, icon, footer Coupon: logo, icon, strip Event ticket: logo, icon, strip, background, thumbnail If you specify a strip image, do not specify a background image or a thumbnail. Generic: logo, icon, thumbnail Store card: logo, icon, strip
Args: StrEnum (type): description
resolution'normal' | 'high' | 'ultra' required
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/v2/templates/{templateId}/images/{type}/{resolution}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}