---
title: "Add a new certificate"
method: POST
path: "/gateway_manager/v1/certificates"
tags: ["Gateway Manager"]
---

# Add a new certificate

`POST /gateway_manager/v1/certificates`

## Request

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

Adds a new public certificate that is used to identify a gateway to the certificate store.

## Request body

- object
  - `raw_certificate` string
  - `contract_id` string
  - `alias` string

## Response `200`

Response from creating a certificate

- GatewayManagerCreateCertificateResponse200
  - `state` string
  - `results` GatewayManagerV1CertificatesPostResponsesContentApplicationJsonSchemaResults: The response from the database when the certificate was added

## 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/post.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)
