---
updatedAt: 2026-06-22T22:36:27.000Z
agentTools:
  projectIndex: https://developer.noip.com/llms.txt
---

# Create a DDNS key.

Create a new DDNS key.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0.0",
    "title": "No-IP API",
    "description": "No-IP API\n"
  },
  "servers": [
    {
      "url": "https://api.noip.com",
      "description": "Production environment. Data at this URL is published to production DNS network."
    }
  ],
  "tags": [
    {
      "name": "DDNS Keys",
      "description": "Dynamic DNS authentication keys.",
      "x-displayName": "DDNS Keys"
    }
  ],
  "paths": {
    "/v1/account/ddns-keys": {
      "post": {
        "tags": [
          "DDNS Keys"
        ],
        "summary": "Create a DDNS key.",
        "description": "Create a new DDNS key.",
        "operationId": "v1/accountCreateDDNSKey",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountDDNSKeyRequestPost"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/AccountDDNSKeyCreated"
                    },
                    {
                      "properties": {
                        "warnings": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/AccountWarning"
                          }
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": []
          },
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Open [https://my.noip.com/auth/api-keys](https://my.noip.com/auth/api-keys) to start using the No-IP API",
        "scheme": "basic",
        "x-visibility": "public"
      },
      "Bearer": {
        "type": "http",
        "description": "Open [https://my.noip.com/auth/api-keys](https://my.noip.com/auth/api-keys) to start using the No-IP API",
        "scheme": "bearer",
        "x-visibility": "public"
      }
    },
    "schemas": {
      "AccountWarning": {
        "properties": {
          "title": {
            "description": "A title for this warning.",
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "description": "Contextual information about this warning.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "A code for this warning.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AccountErrorResponse": {
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountWarning"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountError"
            }
          }
        },
        "type": "object"
      },
      "AccountDDNSKeyRequestPost": {
        "required": [
          "targets"
        ],
        "properties": {
          "description": {
            "description": "A friendly title.",
            "type": "string",
            "example": "group-name_1"
          },
          "targets": {
            "type": "array",
            "items": {
              "properties": {
                "name": {
                  "description": "The DNS name, not including the zone portion.",
                  "type": "string",
                  "example": "dns-name"
                },
                "zone_name": {
                  "description": "The name of the zone.",
                  "type": "string",
                  "example": "example.com"
                }
              },
              "type": "object"
            }
          }
        },
        "type": "object"
      },
      "AccountDDNSKeyCreated": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountDDNSKey"
          },
          {
            "properties": {
              "credentials": {
                "required": [
                  "username"
                ],
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        ]
      },
      "AccountError": {
        "properties": {
          "location": {
            "description": "Specific information about where this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "description": "Specific information about why this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "an application-specific text describing the code.",
            "type": [
              "string",
              "null"
            ]
          },
          "pointer": {
            "description": "Detailed information about where this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "an application-specific error code",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "a unique code to identify this error instance",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AccountDDNSKey": {
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "credentials": {
            "required": [
              "username"
            ],
            "properties": {
              "username": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "Eureka API",
      "tags": [
        "clients",
        "DDNS Keys"
      ]
    },
    {
      "name": "No-IP DNS API",
      "tags": [
        "zones",
        "zone_authorities",
        "records",
        "meta"
      ]
    }
  ]
}
```