API

API Certificates

Automate certificate issuance and renewal.

Certificates API

Automate your PKI workflows with /v1/certificates. You can request CSRs, upload signed certificates, and trigger renewals without leaving your deployment pipeline.

Request a CSR

curl -X POST https://api.secryn.com/v1/certificates/csr \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "common_name": "api.example.com",
    "sans": ["api.example.com", "internal.example.com"],
    "key_type": "rsa-4096"
  }'

Secryn returns the CSR along with a tracking ID so you can upload the signed certificate later.