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.
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 flagsPOST /ssl/domains— start issuance ({"hostname":"example.com"}orhostnamesarray)POST /ssl/domains/:id/verify— after publishing TXT record(s)POST /ssl/domains/:id/renew— start renewal orderGET /ssl/domains/:id/download— certificatePem + privateKeyPemDELETE /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 keyFAQ
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.
- Renewals start with POST /ssl/domains/:id/renew and need a fresh TXT value.
- The private key is returned in the download response, so store it securely.
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.