PulsaSuite
← Developers

API Reference

Base URL: https://pulsasuite.com/api/v1

Authentication

Pass your API key in one of these headers:

Authorization: Bearer pulsasuite_sk_xxxxxxxx
# or
x-api-key: pulsasuite_sk_xxxxxxxx

Get your key in the Developer Console. Keys are hashed at rest (SHA-256) and can be revoked anytime.

Billing & Errors

  • 401 — invalid/missing key
  • 402 — insufficient credits (code INSUFFICIENT_CREDITS)
  • 400 — invalid input
POST/api/v1/hash1 credit

Returns MD5, SHA-1, SHA-256, and SHA-512 hashes of the input text.

Request

{ "text": "hello world" }

Response

{
  "text": "hello world",
  "hashes": {
    "md5": "5eb63bbbe01eeed093cb22bb8f5acdc3",
    "sha1": "2aae6c35c94fcfb415dbe95f408b9ce91ee846ed",
    "sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
    "sha512": "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f..."
  }
}
POST/api/v1/base641 credit

Encodes or decodes base64. Pass action "encode" (default) or "decode".

Request

{ "text": "Hello PulsaSuite", "action": "encode" }

Response

{ "action": "encode", "result": "SGVsbG8gRXF1aXZpYW4=" }
POST/api/v1/qrcode1 credit

Generates a QR code as a PNG data URL. Optional: size, dark, light colors.

Request

{ "text": "https://pulsasuite.com", "size": 512, "dark": "#3B82F6" }

Response

{ "dataUrl": "data:image/png;base64,iVBORw0K...", "mime": "image/png" }