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 Places 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: Places
paths:
/places:
get:
operationId: searchPlaces
summary: Search addresses
description: Address suggestions for a pass's "near a location" notification. Send the same `session` (any random string) for one search and the getPlace call that follows it.
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 3
- name: session
in: query
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
places:
type: array
items:
type: object
properties:
placeId:
type: string
address:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'422':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Places
/places/{placeId}:
get:
operationId: getPlace
summary: Get a place's address and coordinates
parameters:
- name: placeId
in: path
required: true
schema:
type: string
- name: session
in: query
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
placeId:
type: string
address:
type: string
latitude:
type: number
longitude:
type: number
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/InvalidRequest'
tags:
- Places
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'
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
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.