API

Automated encode.

From your own system or an automation, produce a file or project sealed to the customer's domain from this endpoint. The api_key is defined server-side.

Single file

copycurl -X POST "https://encoder.poensis.org/index.php?p=api" \ -H 'Content-Type: application/json' \ -d '{"api_key":"…","domain":"musteri.com","expiry":"2026-12-31","source_b64":"PD9waHAg…"}' \ --output app.protected.php

Project ZIP

copycurl -X POST "https://encoder.poensis.org/index.php?p=api" \ -H 'Content-Type: application/json' \ -d '{"api_key":"…","domain":"musteri.com","zip_b64":"UEsDBBQ…"}' \ --output protected.zip

Fields: api_key, domain (required), expiry (optional, YYYY-MM-DD), and one of source / source_b64 / zip_b64. The ZIP output extracts straight into public_html.