---
title: "Get a certificate by its ID"
method: GET
path: "/gateway_manager/v1/certificates/{id}"
tags: ["Gateway Manager"]
---

# Get a certificate by its ID

`GET /gateway_manager/v1/certificates/{id}`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/gateway_manager/v1/certificates/{id}`
- Auth: none declared

Returns the information about a particular certificate from the certificate store given its ID.

## Path parameters

- `id` string, required

## Response `200`

a certificate from the trust store

- GatewayManagerGetCertificateByIdResponse200
  - `state` string
  - `results` GatewayManagerV1CertificatesIdGetResponsesContentApplicationJsonSchemaResults
    - `_id` string: The Id of the certificate within the database
    - `certificate` string: The raw certificate data
    - `contract_id` string: The name of the certificate
    - `host` string
    - `issuer` string
    - `self_signed` boolean
    - `type` string
    - `validity` GatewayManagerV1CertificatesIdGetResponsesContentApplicationJsonSchemaResultsValidity
      - `notBefore` string, date-time
      - `notAfter` string, date-time
    - `gateways` string[]: An array of the gateways that are associated with the certificate

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Gateway Manager` added
  - api tag `gatewayManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/gateway_manager/v1/certificates/:id/get.md)

---

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