---
title: "Let's Encrypt: Order a certificate renewal"
method: POST
path: "/{account}/domains/{domain}/certificates/letsencrypt/{certificate}/renewals"
tags: ["domain certificates"]
---

# Let's Encrypt: Order a certificate renewal

`POST /{account}/domains/{domain}/certificates/letsencrypt/{certificate}/renewals`

## Request

- Base URL: `https://api.dnsimple.com/v2`
- URL: `https://api.dnsimple.com/v2/{account}/domains/{domain}/certificates/letsencrypt/{certificate}/renewals`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/dnsimple/apis/dnsimple-api/docs/:account/domains/:domain/certificates/letsencrypt/:certificate/renewals/post.ts> (a function with typed inputs; its response is checked against the schema)

Renews a [Let's Encrypt](https://dnsimple.com/letsencrypt) certificate ordered with DNSimple.

## Path parameters

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

## Request body

- object
  - `auto_renew` boolean: Enable the auto-renewal of the certificate
  - `signature_algorithm` string: Optional string to determine the signature algorithm to be used. Either `ECDSA` or `RSA`

## Response `201`

Successfully created the certificate renewal order.

- object
  - `data` LetsencryptCertificateRenewal, required
    - `id` integer
    - `old_certificate_id` integer
    - `new_certificate_id` integer
    - `state` 'cancelled' | 'new' | 'renewing' | 'renewed' | 'failed'
    - `auto_renew` boolean
    - `created_at` string, date-time: A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time: A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `404`: The requested resource doesn't exist.

## Changes

- **2025-07-11** (v2) `06780be0ef17`: 2 info
  - the response property `data` became required for the status `201`
  - the response property `message` became required for the status `404`
- **2023-07-18** (v2) `c8591dcf8c29`: 2 breaking
  - the response property `data` became optional for the status `201`
  - the response property `message` became optional for the status `404`

[Operation history](https://skmtc.dev/dnsimple/apis/dnsimple-api/changes/:account/domains/:domain/certificates/letsencrypt/:certificate/renewals/post.md)

---

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