---
title: "Get SSL certificate state for a single domain"
method: GET
path: "/api/client/ssl-certificates/{domain_id}"
tags: ["Client - SSL Certificates"]
---

# Get SSL certificate state for a single domain

`GET /api/client/ssl-certificates/{domain_id}`

Combines the local SSL record with live PEM/issuer data fetched from the bolt-agent (when a certificate is installed).

## Path parameters

- `domain_id` integer, required

## Response `200`

Success

- object
  - `domain_id` integer
  - `domain` string
  - `ssl_enabled` boolean
  - `ssl_certificate` HostingAccountSslCertificate — SSL certificate record attached to a domain
    - `id` integer
    - `hosting_account_id` integer
    - `domain_id` integer
    - `type` string, nullable — Provider name (e.g. LetsEncrypt, ZeroSSL) or null for uploaded/self-signed
    - `path` string, nullable
    - `domains` string[]
    - `auto_renew` boolean
    - `expiration_date` string, date-time, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `agent` object, nullable
    - `certificate` string
    - `private_key` string
    - `certificate_chain` string
    - `issuer` string
    - `valid_to` string

## Other responses

- `404` — Domain not found

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
