Skip to main content
Complete reference for all Password Generator API endpoints, parameters, and response formats.

Base URL

https://api.sinaty.business/password/

Endpoints Overview

MethodEndpointDescription
GET/password/Generate password with query parameters
POST/password/Generate password with JSON body

GET /password/

Generate a password using query parameters.

Query Parameters

ParameterTypeDefaultDescription
lengthinteger50Password length (1-1000)
uppercasebooleantrueInclude uppercase letters
lowercasebooleantrueInclude lowercase letters
numbersbooleantrueInclude numbers
symbolsbooleantrueInclude symbols

Example Request

curl "https://api.sinaty.business/password/?length=16"

Response Format

{
  "password": "Kj9#mN2$pL5@vX8&qR",
  "length": 20,
  "timestamp": "2024-01-01 12:00:00",
  "strength_level": "strong"
}

POST /password/

Generate a password using JSON body parameters.

Request Body

{
  "length": 16,
  "uppercase": true,
  "lowercase": true,
  "numbers": true,
  "symbols": true
}

Example Request

curl -X POST "https://api.sinaty.business/password/" \
  -H "Content-Type: application/json" \
  -d '{"length": 20}'

Error Responses

Invalid Length (400)

{
  "error": "Length must be between 1 and 1000"
}

HTTP Status Codes

CodeDescription
200Success - Password generated
400Bad Request - Invalid parameters
500Internal Server Error

Rate Limits

No rate limits! You can make unlimited requests to our API.
I