---
title: "List certificates"
method: GET
path: "/{account}/domains/{domain}/certificates"
tags: ["domain certificates"]
---

# List certificates

`GET /{account}/domains/{domain}/certificates`

## Request

- Base URL: `https://api.dnsimple.com/v2`
- URL: `https://api.dnsimple.com/v2/{account}/domains/{domain}/certificates`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/dnsimple/apis/dnsimple-api/docs/:account/domains/:domain/certificates/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists the certificates for a domain.

## Path parameters

- `account` integer, required
- `domain` string, required

## Query parameters

- `sort` 'id:asc' | 'id:desc' | 'common_name:asc' | 'common_name:desc' | 'expiration:asc' | 'expiration:desc'

## Response `200`

Successfully retrieved certificates for a domain.

- object
  - `data` Certificate[], required
    - `id` integer, required
    - `domain_id` integer, required
    - `name` string, required
    - `common_name` string, required
    - `years` integer, required
    - `csr` string, required
    - `state` 'new' | 'purchased' | 'configured' | 'submitted' | 'issued' | 'rejected' | 'refunded' | 'cancelled' | 'requesting' | 'failed', required
    - `auto_renew` boolean, required
    - `alternate_names` string[], required
    - `authority_identifier` 'comodo' | 'rapidssl' | 'letsencrypt', required
    - `created_at` string, date-time, required: A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required: A date-time value, representing when the entry was last updated, formatted as ISO 8601.
    - `expires_at` string, date-time, required: A date-time value formatted as ISO 8601.
    - `expires_on` string, date, required: A date value formatted as ISO 8601.
  - `pagination` Pagination, required
    - `current_page` integer, required
    - `per_page` integer, required
    - `total_entries` integer, required
    - `total_pages` integer, required

## Other responses

- `404`: The requested resource doesn't exist.

## Changes

- **2026-04-17** (v2) `7117f4504eca`: 1 breaking
  - removed the required property `data/items/contact_id` from the response with the `200` status
- **2025-07-11** (v2) `06780be0ef17`: 22 info
  - the response property `data` became required for the status `200`
  - the response property `data/items/alternate_names` became required for the status `200`
  - the response property `data/items/authority_identifier` became required for the status `200`
  - the response property `data/items/auto_renew` became required for the status `200`
  - …18 more
- **2023-07-18** (v2) `c8591dcf8c29`: 21 breaking, 1 info
  - the response property `data` became optional for the status `200`
  - the response property `data/items/alternate_names` became optional for the status `200`
  - the response property `data/items/authority_identifier` became optional for the status `200`
  - the response property `data/items/auto_renew` became optional for the status `200`
  - …18 more

[Operation history](https://skmtc.dev/dnsimple/apis/dnsimple-api/changes/:account/domains/:domain/certificates/get.md)

---

[API](https://skmtc.dev/dnsimple/apis/dnsimple-api.md) - [All operations](https://skmtc.dev/dnsimple/apis/dnsimple-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dnsimple/apis/dnsimple-api/revisions/2d2e7a8fb60a?raw)
