Comprehensive REST API documentation for integrating Password Pusher into your workflows, applications and tools.
The Password Pusher API v2 provides a RESTful interface for creating, retrieving, and managing secure password pushes and requests. All API endpoints return JSON responses and use standard HTTP status codes.
Secure API access with token-based authentication
Consistent JSON format across all endpoints
Intuitive REST endpoints following best practices
Support for one-way pushes and two-way requests
Create passwords, passphrases, and PINs via POST /api/v2/generate
https://eu.pwpush.com/api/v2
API v2 uses Bearer token authentication. To authenticate, include your API token in the Authorization header:
Note: Some endpoints (like retrieving a push or request, or generating a password) can be accessed anonymously. Creating requests, accessing audit logs, and managing collections require authentication. Include a Bearer token on generate requests when you need the signed-in workspace policy.
Authorization: Bearer YOUR_API_TOKEN
All API endpoints are prefixed with:
For self-hosted instances, use your own domain. The base URL shown above reflects the current host you're accessing.
https://eu.pwpush.com/api/v2
GET GET /api/v2/version
Returns the current API version, application details, and a features hash describing which capabilities are enabled on this instance.
When authenticated with a Bearer token, the response includes a subscription object with workspace subscription status.
Only present when authenticated with a Bearer token. Reports the subscription status of the resolved workspace (from workspace_id parameter or fallback to default workspace).
workspace_id - Workspace prefix ID
workspace_name - Workspace display name
subscribed - Whether the workspace has an active subscription. Includes trialing subscriptions and respects grace periods after cancellation. Excludes past_due (payment failed) and ended subscriptions.
plan_name - Subscription plan name (only present when subscribed is true)
anonymous_access - Whether anonymous API usage is allowed
api_token_authentication - Bearer token authentication support
password_generator.enabled - Whether password, passphrase, and PIN generation is enabled
password_generator.languages - Supported passphrase word list languages
accounts.enabled - Whether workspace listing is available at /api/v2/workspaces (legacy path /api/v2/accounts is an alias)
pushes.enabled - Push creation and management via API
pushes.email_auto_dispatch - Whether this instance can email secret links on create. Feature detection only — use the notify_recipients create parameter to opt out of Auto-Dispatch while still supplying notify_emails_to for Authenticated Recipients.
pushes.file_attachments.enabled - File attachments on pushes
pushes.file_attachments.requires_authentication - File attachments require authentication
requests.enabled - Request creation and management via API
requests.email_auto_dispatch - Whether this instance can email secret links on create. Feature detection only — use the notify_recipients create parameter to opt out of Auto-Dispatch while still supplying notify_emails_to for Authenticated Recipients.
requests.file_attachments.enabled - File attachments on request responses
requests.file_attachments.requires_authentication - File attachments require authentication
curl -X GET https://eu.pwpush.com/api/v2/version
{
"application_version": "2.1.0",
"api_version": "2.1",
"edition": "commercial",
"features": {
"anonymous_access": true,
"api_token_authentication": true,
"password_generator": {
"enabled": true,
"languages": ["de", "en", "es", "fr", "it"]
},
"accounts": {
"enabled": true
},
"pushes": {
"enabled": true,
"email_auto_dispatch": true,
"file_attachments": {
"enabled": true,
"requires_authentication": true
}
},
"requests": {
"enabled": true,
"email_auto_dispatch": true,
"file_attachments": {
"enabled": true,
"requires_authentication": true
}
}
}
}
curl -X GET https://eu.pwpush.com/api/v2/version?workspace_id=acct_abc123 \
-H "Authorization: Bearer YOUR_TOKEN"
{
"application_version": "2.1.0",
"api_version": "2.1",
"edition": "commercial",
"features": { ... },
"subscription": {
"workspace_id": "acct_abc123",
"workspace_name": "ACME Corp",
"subscribed": true,
"plan_name": "default"
}
}
POST POST /api/v2/generate
Creates one or more passwords, passphrases, or PINs. Authentication is optional. Anonymous requests use the core workspace (or self-hosted global) policy. Send a Bearer token to use the signed-in workspace policy, including on custom domains.
When generator configuration is disabled by policy, option overrides are ignored and only count is honored.
If password generation is disabled, the API returns 403 Forbidden.
Generation is limited to 30 requests per minute per IP address or authenticated user.
Send parameters at the root of the JSON object. Omitted fields fall back to the effective policy defaults.
curl -X POST https://eu.pwpush.com/api/v2/generate \
-H "Content-Type: application/json" \
-d '{
"type": "passphrase",
"language": "en",
"word_count": 4,
"count": 2
}'
{
"type": "passphrase",
"language": "en",
"entropy_bits": 51.7,
"results": ["Correct-Horse-Battery-Staple42", "River-Garden-Lantern-Anchor17"]
}
curl -X POST https://eu.pwpush.com/api/v2/generate \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "password",
"length": 20,
"symbols": true
}'
# Create a push
curl -X POST https://eu.pwpush.com/api/v2/pushes \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"push": {
"payload": "MySecretPassword123",
"expire_after_duration": 6,
"expire_after_views": 3
}
}'
# Retrieve the push
curl -X GET https://eu.pwpush.com/api/v2/pushes/fkwjfvhall92
# Create a request
curl -X POST https://eu.pwpush.com/api/v2/requests \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"request": {
"request": "Please provide the API key",
"close_after_duration": 8
}
}'
# Respond to the request
curl -X PATCH https://eu.pwpush.com/api/v2/requests/orpw2wkg00vpn0a/respond \
-H "Content-Type: application/json" \
-d '{
"request": {
"response": "The API key is: sk_live_1234567890"
}
}'
The API uses standard HTTP status codes:
200 OK
Request succeeded
201 Created
Resource created
400 Bad Request
Invalid parameters
422 Unprocessable Entity
Validation errors or invalid request data
401 Unauthorized
Authentication required
403 Forbidden
Access denied
404 Not Found
Resource not found
Rate limiting is implemented to protect the API from abuse and ensure fair usage for all users. Rate limits are applied per IP address and vary depending on the type of request and endpoint.
Audit log GET requests are limited to 15 requests per minute per IP, with a burst limit of 5 requests per 10 seconds, and 30 requests per minute per authenticated user or API token.
When a request exceeds the rate limit, the API returns a 429 Too Many Requests status code with a Retry-After header indicating when you can retry the request.
Retry-After header valueNote: Rate limits are designed to prevent abuse while allowing legitimate usage. If you consistently encounter rate limits, consider optimizing your integration or contacting support to discuss your use case.