Try free Sign in Contact sales

SSL REST API for domain automation

Use the same API key as webhooks and Zapier to manage custom-domain SSL: create orders, verify DNS-01, renew, download PEMs, and delete domains.

Home / SSL / Developer

Auth

Paid plan required for API keys. Create a key under Webhooks & API, then send it as a Bearer token.

Authorization: Bearer YOUR_API_KEY
Base URL: https://docstoc.io/api

SSL endpoints

All routes are under /api/ssl. Slot limits and multi-SAN/wildcard gates follow your plan.

  • GET /ssl/domains — list certificates, plan limit, and feature flags
  • POST /ssl/domains — start issuance ({"hostname":"example.com"} or hostnames array)
  • POST /ssl/domains/:id/verify — after publishing TXT record(s)
  • POST /ssl/domains/:id/renew — start renewal order
  • GET /ssl/domains/:id/download — certificatePem + privateKeyPem
  • DELETE /ssl/domains/:id — remove domain

What this is not

This is not a public ACME directory you point certbot at, and not a ZeroSSL-compatible drop-in REST clone. It is docstoc’s workspace API for domains you manage here — automation on Let's Encrypt, not a CA reseller API.

  • No public ACME CA endpoint
  • No unlimited free-tier API CA console
  • Download returns PEM material for your install path

Try it

Tools for a quick check — or open the product when you’re ready to issue.

API docs → · Create an API key

FAQ

Is the API free?

Developer / ACME-style API access is on Pro and Business. Free still uses managed ACME in the product UI for its 5 certificates.

Where are full docs?

Start at /docs for auth and general API keys; SSL routes are listed on this page and implemented under /api/ssl.

A typical call sequence

A script usually runs POST /ssl/domains with a hostname, publishes the returned TXT value in DNS, then calls POST /ssl/domains/:id/verify. When the status is issued it calls GET /ssl/domains/:id/download for the PEM files.

Limits

Plan limits apply to the API as to the app: 5 certificate slots, up to 10 names per certificate on Pro and up to 100 on Business, and one wildcard on Business. Certificates are Let's Encrypt, domain validated and valid for 90 days.

FAQ

Does the API renew certificates without me?

No. A renewal needs a new DNS TXT value from you before it can be verified.

Can I point certbot at the API?

No. It is docstoc's own workspace API, not a public ACME endpoint.