Create Pass Template Revision

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
revision
object
required

Fields in this object support dynamic values, fields that do not support dynamic values are noted.
Support for dynamic values is as follows:

  • Each field can be a string value or contain a single dynamic value.
  • To make a field dynamic, it must be set in the following format {{ entity.attribute }}.
  • A default value can be passed using the following syntax {{ entity.attribute | "default value" }}.
  • A Pass Template Revision has support for attributes from two entities, Pass and User. These can be accessed with the entity name pass and user. EG: To have a field show the value of a Pass attribute named memberId, the field's value would be set to {{ pass.memberId }}.

Image fields (logoUri, iconUri, coverImageUri, alternateCoverImageUri, and posterArtwork) take a public http or https URL, or a data: URL, for a PNG, JPEG, GIF, WebP, SVG, or AVIF image. An image at a URL can be up to 5 MB. The whole request, including every data: URL, must stay within the 512 KB request size limit.
Badge stores a copy of each image when you create the revision, and responses return the URL of that copy. Changing the image at the original URL does not update the pass.
For a dynamic image field, Badge copies the default value.

boolean
required
Responses

404

Not Found

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json