---
title: "POST /certificates"
method: POST
path: "/certificates"
tags: ["certificate"]
---

# POST /certificates

`POST /certificates`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/certificates`
- Auth: none declared

Create the new certificate in your account.

## Request body

- PostCertificateInput
  - `label` string
  - `type` 'pgp' | 'rsa' | 'x509' | 'csr' | 'panoply' | 'google_service_account' | 'snowflake'
  - `file_content` string
  - `file_name` string
  - `password` string, nullable

## Response `201`

Create the new certificate in your account.

- CertificateResource
  - `future_id` string
  - `id` string
  - `legacy_id` string
  - `is_locked` boolean
  - `created_at` integer: UNIX timestamp in seconds.
  - `updated_at` integer: UNIX timestamp in seconds.
  - `label` string
  - `extension` string
  - `status` 'pgp' | 'rsa' | 'x509' | 'csr' | 'panoply' | 'google_service_account' | 'snowflake'
  - `config` string

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
