# GET /domains/{name}/certificate

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the certificates group.

Get a domain's TLS certificate status

- Who may call it: administrator, reseller, customer
- Token scope, any of: certificates, read, all
- Answers: 200 OK

The response includes the domain's certificate record in certificate and its certificate mode in ssl. If no certificate record exists, certificate is null.

## Parameters

- `name` (path, DomainName, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/domains/example.com/certificate" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "certificate": {
    "attempts": 1,
    "challenge": "http",
    "created_at": "2026-09-09T10:15:00Z",
    "domain": "example.com",
    "fingerprint": "text",
    "issuer": "text",
    "kind": "auto",
    "last_attempt_at": "text",
    "last_error": "text",
    "name": "alice",
    "names": [
      "text"
    ],
    "not_after": "text",
    "not_before": "text",
    "panel": true,
    "self_signed": true,
    "status": "pending",
    "updated_at": "text",
    "user": "alice"
  },
  "ssl": {
    "challenge": "auto",
    "force_https": 1,
    "hsts": 1,
    "mode": "none"
  }
}
```

## Errors

- 401: Authentication required
