Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: WalletPassBuilder Notifications 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: Notifications
paths:
/notifications:
get:
operationId: listNotifications
summary: List notifications
description: Every notification - sent, scheduled, or failed - across every pass the account owns, newest first. Send `X-Workspace-Id` to see only one workspace's.
parameters:
- $ref: '#/components/parameters/WorkspaceId'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
notifications:
type: array
items:
$ref: '#/components/schemas/Notification'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Notifications
/notifications/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
delete:
operationId: cancelNotification
summary: Cancel a scheduled notification
parameters:
- name: passId
in: query
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
status:
type: string
enum:
- canceled
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Notifications
components:
responses:
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'
NotFound:
description: No matching resource for this account
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
schemas:
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
Notification:
type: object
description: The full notification record - returned by List Notifications, which spans every pass the account owns.
properties:
id:
type: string
passId:
type: string
passTitle:
type: string
passUrl:
type: string
subject:
type: string
message:
type: string
source:
type: string
enum:
- immediate
- scheduled
scheduledAt:
type: string
format: date-time
nullable: true
status:
type: string
enum:
- scheduled
- sending
- sent
- failed
- canceled
createdAt:
type: string
format: date-time
sentAt:
type: string
format: date-time
nullable: true
error:
type: string
results:
type: object
properties:
applePushed:
type: boolean
googleMessaged:
type: boolean
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.