---
title: "Add a certificate."
method: POST
path: "/tyk/certs"
tags: ["Certs"]
---

# Add a certificate.

`POST /tyk/certs`

Add a certificate to the Tyk Gateway.

## Query parameters

- `org_id` string

## Response `200`

New certificate added.

- APICertificateStatusMessage
  - `id` string
  - `message` string
  - `status` string

## Other responses

- `403` — When certificates you send already exist in the gateway.
- `405` — Malformed request body.

## Changes

- **2024-09-18** `111affa17abe` — 2 info
  - the `query` request parameter `org_id` became optional
  - added the non-success response with the status `405`
- **2022-05-24** `111d8ca21864` — 1 breaking, 1 info
  - the `query` request parameter `org_id` became required
  - removed the non-success response with the status `405`

[Change history](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/certs/post.md)

---

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