Command: register a DynDNS target — a label plus one or more names (FQDNs in managed zones); ONE token updates A and/or AAAA for all of them (requires editor). The response carries the update token exactly once.
POST
/projects/{projectId}/dyn-hosts/create
const url = 'https://example.com/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dyn-hosts/create';const options = { method: 'POST', headers: {cookie: 'dnse_session=<dnse_session>', 'Content-Type': 'application/json'}, body: '{"label":"example","names":["home.example.com"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dyn-hosts/create \ --header 'Content-Type: application/json' \ --cookie dnse_session=<dnse_session> \ --data '{ "label": "example", "names": [ "home.example.com" ] }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“projectId
required
string format: uuid
Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Media typeapplication/json
object
label
required
Display name of the target.
string
names
required
Array<string>
Responses
Abschnitt betitelt „Responses“Target created; token is present only in THIS response.
Media typeapplication/json
object
id
string format: uuid
projectId
string format: uuid
label
string
names
The target’s dynamic names as FQDNs.
Array<string>
lastIPv4
string
lastIPv6
string
updatedAt
Last update call.
string format: date-time
token
Present only in the create response — shown exactly once.
string
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "projectId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "label": "example", "names": [ "example" ], "lastIPv4": "example", "lastIPv6": "example", "updatedAt": "2026-04-15T12:00:00Z", "token": "example"}Malformed request.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}