API Documentation

Integrate SecurePass Pro into your applications

Simple Integration

Easy-to-use REST API with clear examples

Secure by Default

Military-grade encryption and authentication

API Keys

Secure API key authentication

🚀 Get Your API Key

Start integrating secure password generation into your applications today. Enterprise-grade API with 99.9% uptime SLA.

✅ 99.9% Uptime✅ 100+ req/min✅ Priority Support✅ SDKs Included
$75
per month
Enterprise Plan
View SDKs

Authentication

API Key Required

All API requests require a valid API key in the Authorization header. Get your API key from the dashboard under Settings → API Keys.

Authorization Header
Authorization: Bearer YOUR_API_KEY

Generate Password

Generate a single secure password with customizable parameters.

cURL Example

curl -X POST https://securepasspro.co/api/passwords \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "length": 16,
    "includeUppercase": true,
    "includeLowercase": true,
    "includeNumbers": true,
    "includeSymbols": true
  }'

JavaScript Example

const response = await fetch('https://securepasspro.co/api/passwords', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    length: 16,
    includeUppercase: true,
    includeLowercase: true,
    includeNumbers: true,
    includeSymbols: true
  })
});

const result = await response.json();
console.log(result.data.password);

Python Example

import requests

url = "https://securepasspro.co/api/passwords"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
data = {
    "length": 16,
    "includeUppercase": True,
    "includeLowercase": True,
    "includeNumbers": True,
    "includeSymbols": True
}

response = requests.post(url, headers=headers, json=data)
password = response.json()["data"]["password"]
print(password)

Bulk Password Generation

Generate multiple passwords at once for bulk operations.

curl -X POST https://securepasspro.co/api/passwords/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "count": 10,
    "length": 12,
    "includeSymbols": false
  }'

Parameters

ParameterTypeRequiredDescription
lengthnumberYesPassword length (8-128 characters)
includeUppercasebooleanNoInclude uppercase letters (A-Z)
includeLowercasebooleanNoInclude lowercase letters (a-z)
includeNumbersbooleanNoInclude numbers (0-9)
includeSymbolsbooleanNoInclude special symbols (!@#$%^&*)

Response Format

{
  "success": true,
  "data": {
    "password": "K9#mN2$pL7@vX4",
    "strength": "strong",
    "length": 16,
    "generatedAt": "2024-07-09T10:30:00Z"
  }
}

Error Handling

401 Unauthorized

Invalid or missing API key

400 Bad Request

Invalid parameters or missing required fields

429 Too Many Requests

Rate limit exceeded

SDKs & Libraries

We're actively developing official SDKs and libraries to make integration even easier. These will provide native language support, type safety, and additional features.

JavaScript/TypeScript

Official npm package with TypeScript support

Coming Soon

Python

PyPI package with async support

Coming Soon

Go

Go module with context support

Planned

PHP

Composer package with Laravel integration

Planned

Ruby

Ruby gem with Rails integration

Planned

Java

Maven package with Spring Boot support

Planned

SDK Benefits

  • • Type safety and IntelliSense support
  • • Built-in error handling and retry logic
  • • Automatic rate limiting and backoff
  • • Framework integrations (React, Laravel, Rails, etc.)
  • • Comprehensive documentation and examples

SDK Development Roadmap

JavaScript/TypeScript SDK will be available next week! Additional language SDKs (Python, Go, PHP, Ruby, Java) will be developed based on community demand and usage patterns. Let us know which languages you'd like to see prioritized!

API Pricing

API access is included at no extra cost with Enterprise and Annual plans. The prices below are the same as our regular plan pricing - API access comes with your existing subscription.

Enterprise Plan

$75

per month

  • • 100 requests per minute
  • • Full API access
  • • Priority support
  • • All Enterprise features
View Enterprise Plan

Annual Plan

$840

per year (30% savings)

  • • 150 requests per minute
  • • Premium API access
  • • Priority support
  • • All Enterprise features
View Annual Plan

No Additional Charges

If you already have an Enterprise or Annual plan, you automatically get API access at no extra cost. No per-request charges, no setup fees, no hidden costs. API access is simply included in your existing subscription.

Rate Limits

Enterprise Plan

100

requests per minute

~144,000 per day

Annual Plan

150

requests per minute

~216,000 per day

Premium API Access

Rate Limiting & Plan Benefits

API access is only available with Enterprise and Annual plans. The Annual plan includes premium API access with 50% higher rate limits than Enterprise, making it the best value for high-volume API usage. Rate limits are enforced per minute to ensure fair usage and prevent abuse.

Support & Resources

We're here to help you integrate SecurePass Pro successfully. Here are the best ways to get support and find resources.

Support Channels

Live Chat Support

Get instant help from our technical team during business hours

Available: Mon-Fri 9AM-6PM EST

Email Support

Send detailed questions to our technical support team

Response within 24 hours

Documentation

Comprehensive guides, tutorials, and best practices

Always up-to-date with latest features

Community

Join our developer community for tips and discussions

GitHub Discussions & Discord

Contact & Resources

Contact Information

api-support@securepasspro.co
support.securepasspro.co

Before Contacting Support

  • • Check the error response details
  • • Verify your API key is correct
  • • Confirm you're within rate limits
  • • Test with our provided examples
  • • Include request/response logs

Priority Support for Enterprise & Annual Plans

Enterprise and Annual plan customers receive priority support with faster response times, dedicated technical account management, and extended support hours.