Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/walletpassbuilder-com:walletpassbuilder-com-passes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WalletPassBuilder Passes API
version: 1.0.0
description: 'Create, read, update, and archive Apple Wallet and Google Wallet passes,
check pass-credit balance, and send notifications.
An account can have several workspaces. Send a workspace''s id in the
`X-Workspace-Id` header to say which one a request is for; without it,
requests that create things use the account''s default workspace (chosen
in the dashboard under Settings > Workspace or API).
Full documentation with examples: https://walletpassbuilder.com/api-docs'
contact:
name: WalletPassBuilder Support
email: support@walletpassbuilder.com
url: https://walletpassbuilder.com/api-docs
servers:
- url: https://walletpassbuilder.com/api/v1
security:
- bearerAuth: []
tags:
- name: Passes
paths:
/passes:
get:
operationId: listPasses
summary: List passes
description: Every pass the account owns, newest first. Send `X-Workspace-Id` to list one workspace's passes; without it, every workspace's.
parameters:
- $ref: '#/components/parameters/WorkspaceId'
- name: status
in: query
required: false
schema:
type: string
enum:
- live
- archived
- name: dynamic
in: query
required: false
description: '`true` lists only passes with variables (one card per person), without their `passData` rows.'
schema:
type: string
enum:
- 'true'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
passes:
type: array
items:
$ref: '#/components/schemas/PassListItem'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
post:
operationId: createPass
summary: Create a pass
description: Creates and signs a new pass. Costs one pass credit for a static pass, or one credit per row for a dynamic one. The pass is created in the workspace named by `X-Workspace-Id`, or the account's default workspace if none is sent.
parameters:
- $ref: '#/components/parameters/WorkspaceId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- passTemplate
properties:
passTemplate:
$ref: '#/components/schemas/PassTemplate'
passData:
type: array
items:
$ref: '#/components/schemas/PassDataRow'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/PublishedPass'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/CreditLimitExceeded'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
/passes/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
get:
operationId: getPass
summary: Get a pass
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PassListItem'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
patch:
operationId: updatePass
summary: Update a pass
description: Re-signs an existing pass with a new design. Keeps the same id and share link; every device that already saved it is pushed the update. Omit `passData` to leave them unchanged.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- passTemplate
properties:
passTemplate:
$ref: '#/components/schemas/PassTemplate'
passData:
type: array
items:
$ref: '#/components/schemas/PassDataRow'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PublishedPass'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/CreditLimitExceeded'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
delete:
operationId: deletePass
summary: Delete (archive) a pass
description: 'Archives the pass. It drops off the live list, its share link stops working, and every saved copy is marked expired in the person''s wallet (voided on Apple Wallet, moved to Expired passes on Google Wallet). Neither wallet lets an issuer remove a pass from someone''s phone, so it stays there until they delete it. Reversible: un-archiving in the dashboard restores the saved copies. Preserves history rather than hard-deleting.'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
passId:
type: string
status:
type: string
enum:
- archived
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
/passes/{id}/recipients:
parameters:
- name: id
in: path
required: true
schema:
type: string
get:
operationId: findRecipients
summary: Find people on a pass
description: The people on a per-person pass (one card each, from its variables), newest first - all of them, or those matching `match`, or whose value for `variable` equals `value` (case-insensitive).
parameters:
- name: match
in: query
required: false
schema:
type: string
- name: variable
in: query
required: false
schema:
type: string
- name: value
in: query
required: false
schema:
type: string
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 50
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
recipients:
type: array
items:
$ref: '#/components/schemas/Recipient'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
tags:
- Passes
post:
operationId: addRecipient
summary: Add or update a person
description: 'Gives one person their own card and link. With `match`, a live card that already has it is updated instead (200, `created: false`). A new card needs every variable and uses a pass credit.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- values
properties:
values:
type: object
additionalProperties:
type: string
description: 'Variable values by name, without braces, e.g. {"name": "Ada"}.'
match:
type: string
maxLength: 200
description: Your own key for this person (an email, a customer id).
responses:
'200':
description: An existing person was updated
content:
application/json:
schema:
$ref: '#/components/schemas/RecipientResult'
'201':
description: A new card was added
content:
application/json:
schema:
$ref: '#/components/schemas/RecipientResult'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/CreditLimitExceeded'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
/passes/{id}/recipients/{recipientId}:
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: recipientId
in: path
required: true
schema:
type: string
patch:
operationId: updateRecipient
summary: Update a person
description: Changes some of one person's values and updates the card on their phone. Uses no credits.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- values
properties:
values:
type: object
additionalProperties:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Recipient'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
/passes/{id}/notifications:
parameters:
- name: id
in: path
required: true
schema:
type: string
post:
operationId: sendNotification
summary: Send or schedule a notification
description: Sends immediately, or with `scheduledAt` (an ISO 8601 timestamp in the future) queues it to go out later.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- message
properties:
subject:
type: string
maxLength: 35
message:
type: string
maxLength: 500
scheduledAt:
type: string
format: date-time
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
notification:
$ref: '#/components/schemas/NotificationSendResult'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Passes
components:
schemas:
PassDataRow:
type: object
description: One recipient's data for a dynamic (personalized) pass.
required:
- values
properties:
id:
type: string
values:
type: object
additionalProperties:
type: string
PassNotification:
type: object
description: Automatic lock-screen triggers - Apple Wallet only today, no Google Wallet equivalent yet.
properties:
triggers:
type: array
description: Which triggers are on for this pass. Each one also needs its own field(s) below to actually fire.
items:
type: string
enum:
- eventStart
- beforeExpiry
- nearLocation
- nearBeacon
eventStartDate:
type: string
format: date-time
description: Required if triggers includes "eventStart".
scheduledExpiry:
type: string
format: date-time
description: Required if triggers includes "beforeExpiry" (surfaces the pass 48 hours prior). Whether or not that trigger is on, the pass is marked expired at this time on both wallets (Apple Wallet's expiration date, Google Wallet's valid-until time).
locations:
type: array
description: Required if triggers includes "nearLocation". Up to 10.
items:
$ref: '#/components/schemas/NotifyLocation'
beacons:
type: array
description: Required if triggers includes "nearBeacon". Up to 10.
items:
$ref: '#/components/schemas/NotifyBeacon'
PassApple:
type: object
description: Fields that only apply to Apple Wallet - there's no Google Wallet equivalent for any of these today.
properties:
textColor:
type: string
description: Primary text color.
labelColor:
type: string
description: Field label color.
topRightLabel:
type: string
topRightValue:
type: string
PublishedPass:
type: object
description: passUrl alone covers both wallets - it auto-detects the visitor's platform and shows the right "Add to Wallet" button, so no Apple/Google-specific link is returned separately.
properties:
passId:
type: string
passUrl:
type: string
workspaceId:
type: string
description: The workspace the pass was created in.
PassScan:
type: object
properties:
hidden:
type: boolean
description: Hides the barcode/QR block entirely.
type:
type: string
enum:
- barcode
- qr
value:
type: string
description: The encoded value. Set this unless hidden is true.
label:
type: string
description: Text shown under the scan code.
NotifyLocation:
type: object
properties:
id:
type: string
country:
type: string
address:
type: string
latitude:
type: string
longitude:
type: string
PassRow:
type: object
description: The three data fields on the pass face.
properties:
left:
$ref: '#/components/schemas/PassRowField'
middle:
$ref: '#/components/schemas/PassRowField'
right:
$ref: '#/components/schemas/PassRowField'
RecipientResult:
allOf:
- $ref: '#/components/schemas/Recipient'
- type: object
properties:
created:
type: boolean
Recipient:
type: object
properties:
recipientId:
type: string
match:
type:
- string
- 'null'
values:
type: object
additionalProperties:
type: string
link:
type: string
description: The person's own link; it opens Apple Wallet or Google Wallet.
savedAt:
type:
- string
- 'null'
format: date-time
BackSection:
type: object
properties:
id:
type: string
description: '"__notification" is reserved - a Send Notification call upserts that one section, so using it yourself means a future notification will overwrite it.'
type:
type: string
enum:
- Text
- Link
- Phone
description: Link opens value as a URL, Phone dials it, Text just displays it.
label:
type: string
value:
type: string
PassListItem:
type: object
properties:
passId:
type: string
passTemplate:
$ref: '#/components/schemas/PassTemplate'
passData:
type: array
items:
$ref: '#/components/schemas/PassDataRow'
status:
type: string
enum:
- live
- archived
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
passUrl:
type: string
variables:
type: array
items:
type: string
description: The variable names the pass's text uses.
PassAssets:
type: object
required:
- logo
properties:
logo:
type: string
description: Small square logo image URL.
rectLogo:
type: string
nullable: true
appleHero:
type: string
nullable: true
description: Apple Wallet hero/strip image URL.
googleHero:
type: string
nullable: true
description: Google Wallet hero image URL.
appleThumbnail:
type: string
nullable: true
imageRules:
type: array
maxItems: 20
description: Per-person hero images. A card whose `{variable}` value matches shows `image` as its Apple strip and Google hero; the first matching rule wins, the rest keep appleHero / googleHero. Comparison ignores case and outer spaces. A rule's variable counts as one of the pass's variables, so each recipient brings its value.
items:
type: object
required:
- variable
- value
- image
properties:
variable:
type: string
description: Variable name without braces, such as `ticket_type`.
match:
type: string
enum:
- is
- isNot
- contains
default: is
value:
type: string
maxLength: 200
image:
type: string
description: Image URL or data URL.
PassRowField:
type: object
properties:
label:
type: string
value:
type: string
PassTemplate:
type: object
description: A pass's full design. See https://walletpassbuilder.com/api-docs#passes for a complete example; only the commonly-used fields are typed here. passType, cardTitle, logoText, backgroundColor, and assets.logo are required - everything else defaults sensibly if omitted.
required:
- passType
- cardTitle
- logoText
- backgroundColor
- assets
properties:
passType:
type: string
enum:
- generic
- loyalty
description: generic covers gift cards, tickets, and membership cards; loyalty adds a stamp counter. Every pass renders with the same visual layout regardless of type.
logoText:
type: string
cardTitle:
type: string
backgroundColor:
type: string
description: Shared by both wallets.
backSections:
type: array
description: Extra rows shown on the back of the pass.
items:
$ref: '#/components/schemas/BackSection'
apple:
$ref: '#/components/schemas/PassApple'
assets:
$ref: '#/components/schemas/PassAssets'
rows:
type: array
description: One entry per row of fields. Only the first entry is rendered today - more may be supported later, so extra entries are accepted but ignored, not rejected.
items:
$ref: '#/components/schemas/PassRow'
scan:
$ref: '#/components/schemas/PassScan'
notification:
$ref: '#/components/schemas/PassNotification'
additionalProperties: true
NotifyBeacon:
type: object
properties:
id:
type: string
uuid:
type: string
major:
type: string
minor:
type: string
message:
type: string
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthorized
- invalid_request
- not_found
- credit_limit_exceeded
- rate_limited
- internal_error
message:
type: string
NotificationSendResult:
type: object
description: What a send/schedule call returns - just the handle needed to cancel it (id) and the delivery state. passId, passTitle, passUrl, subject, and message are all either the pass id you just called or values you just sent in this same request, so they aren't echoed back.
properties:
id:
type: string
status:
type: string
enum:
- scheduled
- sending
- sent
- failed
- canceled
scheduledAt:
type: string
format: date-time
nullable: true
sentAt:
type: string
format: date-time
nullable: true
error:
type: string
results:
type: object
properties:
applePushed:
type: boolean
googleMessaged:
type: boolean
responses:
NotFound:
description: No matching resource for this account
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InvalidRequest:
description: The request body or a parameter is missing or malformed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid, or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Too many requests - see the Retry-After header
headers:
Retry-After:
schema:
type: integer
description: Seconds until the rate limit window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
CreditLimitExceeded:
description: This would exceed the account's pass-credit balance
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
WorkspaceId:
name: X-Workspace-Id
in: header
required: false
description: Which workspace this request is for. Find ids in the dashboard under API or Settings > Workspace. An id that isn't one of the account's workspaces returns `invalid_request`.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: wpb_live_<key>
description: The account's API key (generate one at /api-keys), or an OAuth access token from an app the account connected, such as Zapier.