Pushary Enrollment API
Connect one of your end-users to phone approvals.
Connect one of your end-users to phone approvals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pushary-com:pushary-com-enrollment-api"
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.
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: Pushary Com Enrollment API
version: 1.0.0
contact:
name: Pushary
url: https://pushary.com/docs
email: business@pushary.com
termsOfService: https://pushary.com/terms
description: 'Operations tagged Enrollment across 2 of this provider''s published API definitions: pushary-com-openapi.json, pushary-com.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pushary.com
description: Production
security:
- bearerAuth: []
tags:
- name: Enrollment
description: Connect one of your end-users to phone approvals.
paths:
/api/v1/server/enroll:
post:
operationId: enrollEndUser
summary: Enroll one of your end-users for phone approvals
description: Returns a personal enrollment link valid for 24 hours, redeemable once per channel. The user must open it and consent in the Pushary app or a supported browser. Native phone approvals require the app; after installing, reopen the link or scan its QR from the app's first screen. End-users need no Pushary account, API key, or paid plan. Requires Partner or Enterprise and a full-access key on your trusted backend; agent and bound runtime keys cannot enroll devices.
tags:
- Enrollment
requestBody:
required: true
description: The end-user to enroll.
content:
application/json:
schema:
$ref: '#/components/schemas/EnrollRequest'
responses:
'200':
description: The enrollment link.
content:
application/json:
schema:
$ref: '#/components/schemas/EnrollResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://pushary.com
description: Production
components:
responses:
RateLimited:
description: Too many requests. `X-RateLimit-Remaining` and `X-RateLimit-Reset` are on every response.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: 'The key is valid but not allowed to do this: wrong scope, wrong plan, or a locked workspace.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: The request body or parameters were rejected.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: No such resource, or no such endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: The API key is missing, malformed or revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
EnrollRequest:
type: object
description: externalId is required for a full key. A bound key uses its own recipient even when this field is omitted or different.
properties:
externalId:
type: string
description: Your own identifier for the end-user to enroll.
EnrollResult:
type: object
description: A personal link valid for 24 hours, redeemable once per channel. The user must complete app or supported browser enrollment. Cache the resulting enrollment, not this link.
required:
- externalId
- token
- deepLink
- universalLink
- expiresInSeconds
properties:
externalId:
type: string
description: The identifier you supplied.
token:
type: string
description: The single-use enrollment token.
deepLink:
type: string
description: Native app deep link (pushary://enroll?token=...).
universalLink:
type: string
description: HTTPS link safe to render as a button, QR code, or send over email, SMS or Slack. Opens the app if installed, else a web-push fallback page.
format: uri
expiresInSeconds:
type: integer
description: How long the link stays valid.
Error:
type: object
description: JSON error response. Shared authentication and validation errors include code and diagnostics; some endpoint errors return only error. Branch on HTTP status and code when present, not message text.
required:
- error
properties:
error:
type: string
description: Human-readable summary.
code:
type: string
description: Machine-readable classification, when available. Common values include unauthorized, forbidden, invalid_request, not_found, method_not_allowed and rate_limited.
status:
type: integer
description: The HTTP status code, repeated in the body for transports that hide it.
message:
type: string
description: What went wrong, in one sentence.
hint:
type: string
description: What to do about it.
documentation:
type: string
description: URL of the documentation page for this rule.
format: uri
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'A Pushary API key, sent as `Authorization: Bearer pk_xxx.xxx`. Create one with `npx -y pushary@latest setup` or in Dashboard > Agent > Settings. The MCP endpoint additionally accepts OAuth 2.0; see /.well-known/oauth-protected-resource.'
externalDocs:
description: Pushary documentation
url: https://pushary.com/docs
x-refined-from:
- pushary-com-openapi.json
- pushary-com.json