---
title: "List All Certificates"
method: GET
path: "/v2/certificates"
tags: ["DigitalOcean-public.v2-new_Certificates"]
---

# List All Certificates

`GET /v2/certificates`

To list all of the certificates available on your account, send a GET request to `/v2/certificates`.

## Query parameters

- `per_page` integer
- `page` integer
- `name` string

## Response `200`

The result will be a JSON object with a `certificates` key. This will be set to an array of certificate objects, each of which will contain the standard certificate attributes.

- object
  - `certificates` Certificate[]
    - `id` string, uuid — A unique ID that can be used to identify and reference a certificate.
    - `name` string — A unique human-readable name referring to a certificate.
    - `not_after` string, date-time — A time value given in ISO8601 combined date and time format that represents the certificate's expiration date.
    - `sha1_fingerprint` string — A unique identifier generated from the SHA-1 fingerprint of the certificate.
    - `created_at` string, date-time — A time value given in ISO8601 combined date and time format that represents when the certificate was created.
    - `dns_names` string[] — An array of fully qualified domain names (FQDNs) for which the certificate was issued.
    - `state` 'pending' | 'verified' | 'error' — A string representing the current state of the certificate. It may be `pending`, `verified`, or `error`.
    - `type` 'custom' | 'lets_encrypt' — A string representing the type of the certificate. The value will be `custom` for a user-uploaded certificate or `lets_encrypt` for one automatically generated with Let's Encrypt.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
