---
title: "Retrieve details from a certificate"
method: GET
path: "/workspace/tls/certificates/{certificate_id}"
tags: ["Digital Certificates - Certificates"]
---

# Retrieve details from a certificate

`GET /workspace/tls/certificates/{certificate_id}`

Retrieve details from a specific certificate in your account.

## Path parameters

- `certificate_id` integer, required

## Query parameters

- `fields` string

## Response `200`

Certificate details retrieved successfully.

- CertificateResponse
  - `state` string
  - `data` Certificate, required
    - `id` integer, required
    - `name` string, required
    - `certificate` string, nullable
    - `private_key` string, nullable
    - `issuer` string, nullable, required
    - `subject_name` string[], required
    - `validity` string, nullable, required
    - `type` 'certificate' | 'trusted_ca_certificate' — The value can't be changed after the certificate creation. * `certificate` - Certificate * `trusted_ca_certificate` - Trusted CA Certificate
    - `managed` boolean, required
    - `status` 'pending' | 'challenge_verification' | 'active' | 'inactive' | 'expired' | 'failed', required — * `pending` - Pending * `challenge_verification` - Challenge Verification * `active` - Active * `inactive` - Inactive * `expired` - Expired * `failed` - Failed
    - `status_detail` string, required
    - `csr` string, nullable, required
    - `challenge` 'dns' | 'http', required — * `dns` - Uses DNS to solve the ACME challenge. * `http` - Uses HTTP to solve the ACME challenge.
    - `authority` 'lets_encrypt', required — * `lets_encrypt` - lets_encrypt
    - `key_algorithm` string, required
    - `active` boolean
    - `product_version` string, required
    - `last_editor` string, required
    - `created_at` string, date-time, nullable, required — Timestamp of the certificate creation on the platform.
    - `last_modified` string, date-time, required — Timestamp of the last modification made to the certificate content on the platform.
    - `renewed_at` string, date-time, nullable, required — Timestamp indicating when the managed certificate was renewed on our platform.

## Other responses

- `400` — Validation Error
- `401` — Authentication Failed
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `429` — Throttled
- `500` — Internal Server Error

---

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