Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
REST API for programmatic access to CertGov certificates, approvals, and audit data.
Authorization: Bearer YOUR_API_KEY
https://app.certgov.app/api/v1 (cloud) https://your-host/api/v1 (self-hosted)
GET /api/v1/certs
dtp
expiring_days
status
active
expired
revoked
{ "certs": [ { "id": "cert_abc123", "domains": ["api.internal.corp.com"], "dtp_id": "internal-services", "environment": "production", "issued_at": "2026-01-01T00:00:00Z", "expires_at": "2027-01-01T00:00:00Z", "days_remaining": 228, "status": "active" } ], "total": 1 }
GET /api/v1/certs/{id}
POST /api/v1/certs/{id}/revoke Content-Type: application/json { "reason": "key_compromise" }
key_compromise
ca_compromise
affiliation_changed
superseded
cessation_of_operation
GET /api/v1/approvals?status=pending
GET /api/v1/approvals/{id}
POST /api/v1/approvals/{id}/approve
POST /api/v1/approvals/{id}/reject Content-Type: application/json { "reason": "Domain not in approved list" }
GET /api/v1/audit?event_type=certificate.&days=30&limit=100
event_type
.
certificate.
days
outcome
success
failed
pending
limit
GET /api/v1/platform/orgs POST /api/v1/platform/orgs GET /api/v1/platform/orgs/{id}
{ "error": "certificate not found", "code": "not_found" }
400
401
403
404
429
500
X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 987 X-RateLimit-Reset: 1716030060
POST https://your-host:8443/v1/enroll