---
title: "Create a delegation signer record"
method: POST
path: "/{account}/domains/{domain}/ds_records"
tags: ["domain dnssec"]
---

# Create a delegation signer record

`POST /{account}/domains/{domain}/ds_records`

Adds a DS record to the domain.

## Path parameters

- `account` integer, required
- `domain` string, required

## Request body

- object
  - `algorithm` string
  - `digest` string
  - `digest_type` string
  - `keytag` string
  - `public_key` string

## Response `201`

Successfully added delegation signer record

- object
  - `data` DelegationSigner, required
    - `id` integer, required
    - `domain_id` integer, required
    - `algorithm` string, required
    - `digest` string, required
    - `digest_type` string, required
    - `keytag` string, required
    - `public_key` string, required
    - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `400` — A required parameter is missing or the request is invalid.
- `404` — The requested resource doesn't exist.

---

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