API: endpoints

De endpoints van versie 1 van de API. Ze nemen JSON aan en geven JSON terug; bedragen staan in centen.

Nieuw

Versie 1 van de API is net open voor je eigen scripts, met API-sleutels per werkruimte. Wat tussen [haakjes] staat, vullen we nog in.

Het adres

Alle paden hieronder komen achter https://api.servur.com. Elk verzoek gaat met een API-sleutel van de werkruimte, en ziet alleen wat van die werkruimte is: zie authenticatie. Een id uit een andere werkruimte geeft 404, alsof hij niet bestaat.

Velden voegen we toe als dat nodig is, maar binnen /v1 hernoemen of schrappen we ze niet. Negeer dus velden die je niet kent.

Lijsten in pagina's

Een lijst geeft hooguit limit items terug (standaard 50, hooguit 100), met in nextCursor waar de volgende pagina begint. Is die null, dan was dit de laatste.

Terminal
curl "https://api.servur.com/v1/services?type=domainname&limit=100" \
  -H "Authorization: Bearer srv_..."

{ "items": [ ... ], "nextCursor": "019a6b00-..." }

Veilig opnieuw proberen

Kreeg je geen antwoord op een verzoek dat iets wijzigt, zoals een bestelling, dan weet je niet of het gelukt is. Stuur daarom een Idempotency-Key mee: een eigen unieke waarde per handeling, zoals een UUID. Stuur je hetzelfde verzoek met dezelfde sleutel binnen een dag nog eens, dan krijg je het eerste antwoord terug, met Idempotent-Replayed: true, en gebeurt het niet twee keer. Dezelfde sleutel bij een ander verzoek geeft 409.

Terminal
curl -X POST "https://api.servur.com/v1/orders" \
  -H "Authorization: Bearer srv_..." \
  -H "Idempotency-Key: 6f1c2d5e-bestelling-klant-42" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [
      { "type": "dnszone", "productId": "...", "domain": "voorbeeld.nl" }
    ],
    "payment": "balance"
  }'

OpenAPI

De hele API staat ook in een OpenAPI-spec (versie 3.1), voor Postman, Insomnia of een gegenereerde client: /v1/openapi.json. Je hebt er geen sleutel voor nodig. De referentie hieronder komt uit diezelfde spec, en daarom zijn de omschrijvingen in het Engels.

Elk endpoint kan 400 (de invoer klopt niet), 401 (geen geldige sleutel) en 429 (te veel verzoeken) geven, en 403 als het verzoek komt van een adres dat de sleutel niet toestaat; bij een endpoint staan alleen de fouten die daar bij komen. Zie foutmeldingen en rate limits.

Werkruimte

The key and its workspace

GET /v1/workspace

Which workspace the key belongs to and what it may do. The first call to try a new key with.

Antwoord 200: The workspace and the key. WorkspaceWithKey

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Diensten

List services

GET /v1/services

Every kind of service the workspace holds, newest first, a page at a time.

Parameters

VeldTypeOmschrijving
type (optioneel)"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip", in query
status (optioneel)"pending" | "active" | "suspended" | "cancelled" | "expired", in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of services. ServicePage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a service

GET /v1/services/{serviceId}

Parameters

VeldTypeOmschrijving
serviceIdstring (uuid), in path

Antwoord 200: The service. Service

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

DNS

List DNS templates

GET /v1/dns-templates

The workspace's own DNS templates and Servur's, with their records. Apply one to a zone with POST /v1/dns-zones/{zoneId}/template.

Antwoord 200: The templates. DnsTemplateList

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Create a DNS template

POST /v1/dns-templates met het recht services:manage

A set of records to apply to zones, for this workspace. {domain} in a value stands for the zone the template is applied to, such as mail.{domain}. No apex NS records.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
namestring (max 100 characters)
descriptionstring (max 500 characters) | null
recordsobject[]
records[].type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
records[].namestring (max 253 characters)
records[].valuestring (max 4096 characters)
records[].ttl (optioneel)integer (60 to 604800)
records[].priority (optioneel)integer (0 to 65535) | null

Antwoord 201: The new template. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 409: The workspace has a template with this name already. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Replace a DNS template

PUT /v1/dns-templates/{templateId} met het recht services:manage

Its name, description and records at once. Zones it was applied to keep their records. Servur's own templates cannot be changed. {domain} in a value stands for the zone the template is applied to, such as mail.{domain}. No apex NS records.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
templateIdstring (uuid), in path

Body

VeldTypeOmschrijving
namestring (max 100 characters)
descriptionstring (max 500 characters) | null
recordsobject[]
records[].type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
records[].namestring (max 253 characters)
records[].valuestring (max 4096 characters)
records[].ttl (optioneel)integer (60 to 604800)
records[].priority (optioneel)integer (0 to 65535) | null

Antwoord 200: The template. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The workspace has another template with this name. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Delete a DNS template

DELETE /v1/dns-templates/{templateId} met het recht services:manage

Zones it was applied to keep their records. Servur's own templates cannot be deleted.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
templateIdstring (uuid), in path

Antwoord 204: Deleted.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List DNS zones

GET /v1/dns-zones

The zones on our nameservers, newest first: the ones whose records the API can change.

Parameters

VeldTypeOmschrijving
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of zones. DnsZonePage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a DNS zone with its records

GET /v1/dns-zones/{zoneId}

Parameters

VeldTypeOmschrijving
zoneIdstring (uuid), in path

Antwoord 200: The zone and its records. DnsZone

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Sign a DNS zone or stop signing it

PUT /v1/dns-zones/{zoneId}/dnssec met het recht services:manage

Turns DNSSEC signing of the zone on or off, when its plan allows it. For a domain registered here on our nameservers, turning it on also sends the DS records to the registry; for one elsewhere, put the returned dsRecords at its registrar yourself. Turning it off is refused while the registry still holds DS records for it: set the domain's DNSSEC to off first.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
enabledboolean

Antwoord 200: The signing now. ZoneDnssec

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone's plan has no DNSSEC, or the registry still holds DS records for it. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers or the registry did not take the change.

Add a DNS record

POST /v1/dns-zones/{zoneId}/records met het recht services:manage

Checked against the zone's plan, kept as a new version of the zone, and published to the nameservers.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
namestring (max 253 characters)
valuestring (max 4096 characters)
ttlinteger (60 to 604800)
priorityinteger (0 to 65535) | null

Antwoord 201: The new record. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The record exists already, or the plan holds no more records. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

Replace all DNS records

PUT /v1/dns-zones/{zoneId}/records met het recht services:manage

Sets the zone's records to exactly this set, in one version. Pass the zone's versionId as baseVersionId: when the zone changed since, nothing is changed and the answer is 409. Records Servur manages for a service may be put back by that service.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
baseVersionIdstring (uuid) | null
recordsobject[]
records[].type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
records[].namestring (max 253 characters)
records[].valuestring (max 4096 characters)
records[].ttlinteger (60 to 604800)
records[].priorityinteger (0 to 65535) | null

Antwoord 200: The version the records are now. DnsZoneVersionRef

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone changed since baseVersionId, the set has a record twice, or it holds more than the plan allows. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

Replace a DNS record

PUT /v1/dns-zones/{zoneId}/records/{recordId} met het recht services:manage

The whole record, as adding one takes it.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path
recordIdstring (uuid), in path

Body

VeldTypeOmschrijving
type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
namestring (max 253 characters)
valuestring (max 4096 characters)
ttlinteger (60 to 604800)
priorityinteger (0 to 65535) | null

Antwoord 200: The record. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: An identical record exists already. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

Delete a DNS record

DELETE /v1/dns-zones/{zoneId}/records/{recordId} met het recht services:manage

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path
recordIdstring (uuid), in path

Antwoord 204: The record is gone.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

List the redirects of a DNS zone

GET /v1/dns-zones/{zoneId}/redirects

The web addresses in the zone that Servur answers with a redirect elsewhere.

Parameters

VeldTypeOmschrijving
zoneIdstring (uuid), in path

Antwoord 200: The redirects. DnsRedirectList

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Add a redirect to a DNS zone

POST /v1/dns-zones/{zoneId}/redirects met het recht services:manage

name is @ or a name under the zone; path a path such as / or /blog/{slug*}, with {name} for one segment or {name*} for the rest of the path, which destination writes as {name}: /blog/{slug*} to https://blog.example.com/{slug}.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
namestring (max 253 characters)
pathstring (max 512 characters)
destinationstring (max 2048 characters)
statusCode301 | 302

Antwoord 201: The new redirect. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone has a redirect for this name and path already. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Replace a redirect of a DNS zone

PUT /v1/dns-zones/{zoneId}/redirects/{redirectId} met het recht services:manage

name is @ or a name under the zone; path a path such as / or /blog/{slug*}, with {name} for one segment or {name*} for the rest of the path, which destination writes as {name}: /blog/{slug*} to https://blog.example.com/{slug}.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path
redirectIdstring (uuid), in path

Body

VeldTypeOmschrijving
namestring (max 253 characters)
pathstring (max 512 characters)
destinationstring (max 2048 characters)
statusCode301 | 302

Antwoord 200: The redirect. Created

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone has another redirect for this name and path. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Delete a redirect of a DNS zone

DELETE /v1/dns-zones/{zoneId}/redirects/{redirectId} met het recht services:manage

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path
redirectIdstring (uuid), in path

Antwoord 204: Deleted.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Apply a DNS template to a zone

POST /v1/dns-zones/{zoneId}/template met het recht services:manage

replace makes the zone exactly the template; merge adds what is missing and leaves the rest. Kept as a new version of the zone and published to the nameservers. See what it would do first with POST /v1/dns-zones/{zoneId}/template-preview.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
templateIdstring (uuid)
mode"replace" | "merge"

Antwoord 200: What changed. DnsTemplatePlan

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone would hold more records than its plan allows. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

Preview a DNS template on a zone

POST /v1/dns-zones/{zoneId}/template-preview

What applying the template would change, without changing anything. replace makes the zone exactly the template; merge adds what is missing and leaves the rest.

Parameters

VeldTypeOmschrijving
zoneIdstring (uuid), in path

Body

VeldTypeOmschrijving
templateIdstring (uuid)
mode"replace" | "merge"

Antwoord 200: What would change. DnsTemplatePlan

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List versions of a DNS zone

GET /v1/dns-zones/{zoneId}/versions

Every change to the records left a version, newest first. Older ones are cleaned up after a while.

Parameters

VeldTypeOmschrijving
zoneIdstring (uuid), in path
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of versions. DnsZoneVersionPage

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a version of a DNS zone

GET /v1/dns-zones/{zoneId}/versions/{versionId}

The records as they were in that version.

Parameters

VeldTypeOmschrijving
zoneIdstring (uuid), in path
versionIdstring (uuid), in path

Antwoord 200: The version. DnsZoneVersion

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Roll a DNS zone back to a version

POST /v1/dns-zones/{zoneId}/versions/{versionId}/restore met het recht services:manage

Puts the records back as they were in that version, as a new version. Pass the zone's current versionId as baseVersionId.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
zoneIdstring (uuid), in path
versionIdstring (uuid), in path

Body

VeldTypeOmschrijving
baseVersionIdstring (uuid) | null

Antwoord 200: The new version. DnsZoneVersionRef

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The zone changed since baseVersionId, or the version holds more than the plan allows now. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The nameservers did not take the change.

Domeinnamen

List domain names

GET /v1/domains

The domain names of the workspace, as services. Get one for its registration details.

Parameters

VeldTypeOmschrijving
status (optioneel)"pending" | "active" | "suspended" | "cancelled" | "expired", in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of domain names. ServicePage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a domain name

GET /v1/domains/{domainId}

Its registration dates, where it is delegated, and the zone that holds it here, if any.

Parameters

VeldTypeOmschrijving
domainIdstring (uuid), in path

Antwoord 200: The domain name. Domain

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get the auth code

POST /v1/domains/{domainId}/auth-code met het recht services:transfer

The code that moves the domain to another registrar. Written to the workspace's activity log every time.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainIdstring (uuid), in path

Antwoord 200: The auth code. AuthCode

Fouten

  • 403: The key lacks the services:transfer permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The domain is not registered yet. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The registry did not answer.

Set how DNSSEC is done

PUT /v1/domains/{domainId}/dnssec met het recht services:manage

automatic signs the zone here and sends its DS records to the registry, for a domain on our nameservers whose plan allows DNSSEC. manual keeps the DS records you add with POST /v1/domains/{domainId}/ds-records. off takes them all away.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainIdstring (uuid), in path

Body

VeldTypeOmschrijving
mode"off" | "automatic" | "manual"

Antwoord 200: The mode and the DS records now. DnssecMode

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The domain is not registered (any more), or automatic is not possible for it. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The registry or the nameservers did not take the change.

List DS records

GET /v1/domains/{domainId}/ds-records

The DS records at the registry for the domain: Servur's own with DNSSEC automatic, the ones added with manual.

Parameters

VeldTypeOmschrijving
domainIdstring (uuid), in path

Antwoord 200: The DS records. DsRecordList

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Add a DNSSEC key

POST /v1/domains/{domainId}/ds-records met het recht services:manage

For a zone signed somewhere else: give the DNSKEY of its key-signing key, as dig DNSKEY prints it. It is sent to the registry at once and kept as its SHA-256 DS record, and DNSSEC becomes manual. Refused while it is automatic, where Servur's own records are kept. The answer holds all the domain's DS records, the new one with its id.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainIdstring (uuid), in path

Body

VeldTypeOmschrijving
flags256 | 257
algorithm8 | 10 | 13 | 14 | 15 | 16
publicKeystring (max 4096 characters)

Antwoord 201: The domain's DS records now. DsRecordList

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The domain is not registered (any more), DNSSEC is automatic, the record is there already, or the domain has the most DS records it can. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The registry did not take the record.

Delete a DS record

DELETE /v1/domains/{domainId}/ds-records/{recordId} met het recht services:manage

Takes the record away at the registry at once. Refused while DNSSEC is automatic; switch it to off instead.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainIdstring (uuid), in path
recordIdstring (uuid), in path

Antwoord 204: Deleted.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The domain is not registered (any more), or DNSSEC is automatic. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The registry did not take the change.

Change the nameservers

PUT /v1/domains/{domainId}/nameservers met het recht services:manage

{ "mode": "servur" } for our nameservers, or { "mode": "custom", "nameservers": [...] } for two to six others. A move between ours and anybody else's turns DNSSEC off first.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainIdstring (uuid), in path

Body, vorm 1 van 2

VeldTypeOmschrijving
mode"servur"

Body, vorm 2 van 2

VeldTypeOmschrijving
mode"custom"
nameserversstring[]

Antwoord 200: The nameservers now set. NameserversResult

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The domain is not registered yet, or its zone is held elsewhere. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The registry or the nameservers did not take the change.

Bestellen en betalen

Check whether a domain name is available

GET /v1/availability

Asks the registries, as the search on the website does, with the workspace's prices. invalid also for an extension Servur does not sell.

Parameters

VeldTypeOmschrijving
domainstring (max 253 characters), in query

Antwoord 200: The availability. Availability

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Check a discount code

GET /v1/discounts/{code}

What a code takes off, and on which products, while it can be used. Ordering checks it again against the order, with how often it was used. At most 20 checks per key in 10 minutes.

Parameters

VeldTypeOmschrijving
codestring (max 64 characters), in path

Antwoord 200: The discount. Discount

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List domain holders

GET /v1/domain-holders

The people and organisations a domain name can be registered to. Pass one as holderId when ordering, or leave it out for the default holder of the workspace; add them in the dashboard.

Antwoord 200: The holders. DomainHolderList

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Search a domain name under every extension

POST /v1/domain-searches

The search on the website: a bare name is tried under every extension on sale, one with an extension only under that one. Names held at Servur are answered at once; the rest are pending, and their status comes from one of the signed query.urls, whichever fits the client: plain JSON, server-sent events or a WebSocket. The URLs need no API key and expire after about 30 seconds. At most 20 searches per key a minute.

Body

VeldTypeOmschrijving
querystring (max 253 characters)

Antwoord 201: The search, with the URLs to get its statuses from. DomainSearch

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List orders

GET /v1/orders

The workspace's orders, newest first. status=pending lists what waits to be paid, renewals among them.

Parameters

VeldTypeOmschrijving
status (optioneel)"pending" | "paid" | "cancelled", in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of orders. OrderPage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Order products

POST /v1/orders met het recht billing:manage

Orders anything for sale and pays at once: from the balance (its subtotal without VAT, see POST /v1/orders/{orderId}/payment) or by direct debit for a workspace allowed it (also as the fallback when the balance is too little). Nothing is set up before it is paid, or charged by direct debit. Domain names by name (registered when free, or transferred in with their transferCode); everything else by its productId from GET /v1/products, with the type of that product. Needs both services:manage and billing:manage. Nothing is ordered when anything is refused. The services are set up after the answer; follow them with the service.activated webhook or GET /v1/services. A 400 with ORDER_INCOMPLETE_ERROR carries problems: per item, what is missing, such as holder, domain, addresses, or unavailable for an interval the product has no price for. PRODUCT_NOT_SOLD_ERROR is a product that is not for sale or not of the item's type; DISCOUNT_NOT_FOUND_ERROR a discountCode that does not work now.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
itemsDomainOrderItem | WebhostingOrderItem | EmailOrderItem | DnsZoneOrderItem | VoipOrderItem | GeneralOrderItem[]
payment"balance" | "direct-debit"balance pays the subtotal without VAT, as the balance was invoiced with VAT when topped up, and falls back on direct debit when the balance is too little and the workspace may pay orders that way. direct-debit only for a workspace Servur allowed it, within its limits and with a mandate; the order starts at once and its invoice is collected.
discountCode (optioneel)string (max 64 characters)A discount code, checked against this order as at checkout in the dashboard.
expectedTotal (optioneel)integer (0 or more)The total you expect, with VAT: when the price is another, nothing is ordered.

Antwoord 201: The order, paid. Order

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 409: Not enough balance (and no direct debit to fall back on), direct debit not allowed, over its limits or without a mandate, a domain that is not free, the price is not expectedTotal, a discountCode that is used up or for none of the products (DISCOUNT_NOT_APPLICABLE_ERROR), or no billing details yet. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get an order with its lines

GET /v1/orders/{orderId}

Parameters

VeldTypeOmschrijving
orderIdstring (uuid), in path

Antwoord 200: The order. Order

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Pay a pending order

POST /v1/orders/{orderId}/payment met het recht billing:manage

Pays an order that waits to be paid, from the balance or by direct debit. balance pays the subtotal without VAT, as the balance was invoiced with VAT when topped up, and the order gets a credit line taking it and its VAT off again; it falls back on direct debit when the balance is too little and the workspace may pay orders that way. Renewals are not orders: they are billed two weeks before the period ends and come on an invoice, see POST /v1/invoices/{invoiceId}/payment.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
orderIdstring (uuid), in path

Body

VeldTypeOmschrijving
payment"balance" | "direct-debit"

Antwoord 200: The order, paid. Order

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The order is paid or cancelled already, not enough balance (and no direct debit to fall back on), direct debit not allowed, over its limits or or without a mandate. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List products

GET /v1/products

Everything for sale, with this workspace's prices: its own rates where it has them, list prices otherwise. Pass a product's id as productId when ordering; domain names are ordered by name instead. Names and descriptions are in the language Accept-Language asks for, Dutch or English, and English otherwise.

Parameters

VeldTypeOmschrijving
type (optioneel)"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip", in query

Antwoord 200: The products. ProductList

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

E-mail

Get an email package with its mailboxes

GET /v1/email/{serviceId}

The service id is one of type email from GET /v1/services.

Parameters

VeldTypeOmschrijving
serviceIdstring (uuid), in path

Antwoord 200: The package and its mailboxes. EmailPackage

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not answer.

Get the package's DNS records

GET /v1/email/{serviceId}/dns-records

The records the mail server needs for the package's domain (MX, SPF, DKIM, DMARC), and whether the workspace's zone for it has them.

Parameters

VeldTypeOmschrijving
serviceIdstring (uuid), in path

Antwoord 200: The records and their state. ServiceDns

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not give the records.

Apply the package's DNS records

POST /v1/email/{serviceId}/dns-records met het recht services:manage

Puts the records of GET /v1/email/{serviceId}/dns-records in the workspace's zone for the domain, as one new version, replacing the records under conflicts. Needs a zone here: a 404 with DNS_ZONE_NOT_FOUND_ERROR without one.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Antwoord 204: The records are in the zone.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not give the records.

Create a mailbox

POST /v1/email/{serviceId}/mailboxes met het recht services:manage

As many as the package holds. The password, at least 12 characters, goes to the mail server and is never stored by Servur.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Body

VeldTypeOmschrijving
localPartstring
displayNamestring (max 100 characters) | null
passwordstring (max 256 characters)

Antwoord 201: The new mailbox. CreatedMailbox

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The address exists already, the package holds no more mailboxes, or it is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not take it.

Change a mailbox

PUT /v1/email/{serviceId}/mailboxes/{mailboxId} met het recht services:manage

Its display name (null or empty for none), and its password when password is sent, at least 12 characters. Left out, the password stays.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path
mailboxIdstring (uuid), in path

Body

VeldTypeOmschrijving
displayNamestring (max 100 characters) | null
password (optioneel)string (max 256 characters)

Antwoord 200: The mailbox is changed. UpdatedMailbox

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The package is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not take it.

Delete a mailbox

DELETE /v1/email/{serviceId}/mailboxes/{mailboxId} met het recht services:manage

With all mail in it, for good.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path
mailboxIdstring (uuid), in path

Antwoord 204: The mailbox is gone.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The mail server did not take it.

Facturen en saldo

Get the balance

GET /v1/balance

What the workspace has on its balance, without VAT, to pay orders and renewals with. The balance pays what an order costs without VAT, as its VAT was invoiced with the top-up.

Antwoord 200: The balance. Balance

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List invoices

GET /v1/invoices

Invoices and credit notes that were sent, newest first. status filters with credit- in front for credit notes.

Parameters

VeldTypeOmschrijving
status (optioneel)"open" | "paid" | "void" | "credit-open" | "credit-paid" | "credit-void", in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of invoices. InvoicePage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get an invoice with its lines

GET /v1/invoices/{invoiceId}

Parameters

VeldTypeOmschrijving
invoiceIdstring (uuid), in path

Antwoord 200: The invoice. Invoice

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Download an invoice as PDF

GET /v1/invoices/{invoiceId}/pdf

Parameters

VeldTypeOmschrijving
invoiceIdstring (uuid), in path

Antwoord 200: The PDF. (application/pdf)

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Abonnementen

Get a subscription

GET /v1/subscriptions/{subscriptionId}

A service's billing: its period, renewal, and any cancellation or plan change waiting. Every service is one; its id is the service's.

Parameters

VeldTypeOmschrijving
subscriptionIdstring (uuid), in path

Antwoord 200: The subscription. Subscription

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Cancel a subscription

POST /v1/subscriptions/{subscriptionId}/cancel met het recht services:manage

Stops the subscription at the end of its current period: it is not renewed, and runs until cancelAt. Take it back with POST .../resume before then.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Antwoord 200: When it stops. Cancellation

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: It has ended already (SUBSCRIPTION_ENDED_ERROR), or a payment for it is under way. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change the billing period

POST /v1/subscriptions/{subscriptionId}/period met het recht services:manage

Bills the subscription by another period from GET .../plan-options (periods[].price.id), from the end of the current one. Passing the price it renews at now withdraws a move waiting. A 404 with PLAN_NOT_AVAILABLE_ERROR for a price it cannot move to.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Body

VeldTypeOmschrijving
productPriceIdstring (uuid)

Antwoord 200: The change. PeriodChange

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The period cannot change now: not running, cancelled, too close to its renewal, or a payment for it is under way. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change the plan

POST /v1/subscriptions/{subscriptionId}/plan met het recht billing:manage

Moves the subscription to another plan from GET .../plan-options. An upgrade comes back with the order for the rest of this period: it takes effect once that is paid (POST /v1/orders/{orderId}/payment), or at once when nothing is due. A downgrade takes effect at the end of the period. Needs both services:manage and billing:manage. A 404 with PLAN_NOT_AVAILABLE_ERROR for a plan it cannot move to; a 400 with BILLING_PROFILE_REQUIRED_ERROR without billing details.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Body

VeldTypeOmschrijving
productIdstring (uuid)

Antwoord 200: The change. PlanChange

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The plan cannot change now: not running, cancelled, too close to its renewal, or a payment for it is under way. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List plan options

GET /v1/subscriptions/{subscriptionId}/plan-options

What the subscription can change to, at the prices this workspace pays: other plans of the same kind, other billing periods, and whether the number of units can change.

Parameters

VeldTypeOmschrijving
subscriptionIdstring (uuid), in path

Antwoord 200: The options. PlanOptions

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change the number of units

POST /v1/subscriptions/{subscriptionId}/quantity met het recht billing:manage

More or fewer units, such as mailboxes, where GET .../plan-options says quantity.adjustable. More come back with the order for the rest of this period and are added once it is paid (POST /v1/orders/{orderId}/payment); fewer take effect from the next period. The current number withdraws a reduction waiting. Needs both services:manage and billing:manage. A 400 with BILLING_PROFILE_REQUIRED_ERROR without billing details.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Body

VeldTypeOmschrijving
quantityinteger (1 to 1000)

Antwoord 200: The change. QuantityChange

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The number cannot change now: not running, cancelled, too close to its renewal, or a payment for it is under way. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Withdraw a cancellation

POST /v1/subscriptions/{subscriptionId}/resume met het recht services:manage

Takes back a cancellation while the subscription still runs: it renews again.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Antwoord 204: It renews again.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: It has ended already (SUBSCRIPTION_ENDED_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Withdraw a scheduled change

DELETE /v1/subscriptions/{subscriptionId}/scheduled-change met het recht services:manage

Takes back every change waiting for the next period (another plan, another period, fewer units): it renews as it is now. A 404 with NO_SCHEDULED_CHANGE_ERROR when nothing waits.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
subscriptionIdstring (uuid), in path

Antwoord 204: Nothing waits any more.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: A payment for it is under way. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Overdrachten

List transfers

GET /v1/transfers

Transfers of services out of this workspace and into it, newest first.

Parameters

VeldTypeOmschrijving
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of transfers. TransferPage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Start a transfer

POST /v1/transfers met het recht services:transfer

Issues a transfer code for services of this workspace (the services they depend on come along). The receiving workspace enters it with POST /v1/transfers/claim; then its owner accepts and an owner here confirms, in the dashboard, as taking on or giving away services is theirs to decide.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
serviceIdsstring (uuid)[]From GET /v1/services.

Antwoord 201: The code, shown once. CreatedTransfer

Fouten

  • 403: The key lacks the services:transfer permission, or the request comes from an address it does not allow.
  • 409: A service cannot move (TRANSFER_NOT_ELIGIBLE_ERROR), or is in another transfer already (TRANSFER_ALREADY_PENDING_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a transfer

GET /v1/transfers/{transferId}

A transfer out of this workspace or into it, with its services and what they renew for.

Parameters

VeldTypeOmschrijving
transferIdstring (uuid), in path

Antwoord 200: The transfer. Transfer

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Cancel a transfer

POST /v1/transfers/{transferId}/cancel met het recht services:transfer

Stops a transfer that is not done yet, from either side. The code no longer works.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
transferIdstring (uuid), in path

Antwoord 200: The transfer, now cancelled. Transfer

Fouten

  • 403: The key lacks the services:transfer permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: It is done or cancelled already (TRANSFER_NOT_OPEN_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Enter a transfer code

POST /v1/transfers/claim met het recht services:transfer

Enters another workspace's transfer code here, which shows what the services renew for in this workspace. An owner here then accepts it in the dashboard, as taking services on means paying for them. At most 10 tries a key per 15 minutes, so codes cannot be guessed. A 404 with TRANSFER_CODE_INVALID_ERROR for a code that is wrong, used or expired.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
codestring (max 64 characters)

Antwoord 200: The transfer, now claimed. Transfer

Fouten

  • 403: The key lacks the services:transfer permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The code is from this workspace itself (TRANSFER_SAME_WORKSPACE_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Webhosting

Get a webhosting package

GET /v1/webhosting/{serviceId}

The service id is one of type webhosting from GET /v1/services. With what the account uses, as the control panel says, and the DNS records its domain needs.

Parameters

VeldTypeOmschrijving
serviceIdstring (uuid), in path

Antwoord 200: The package. WebhostingPackage

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Apply the package's DNS records

POST /v1/webhosting/{serviceId}/dns-records met het recht services:manage

Puts the records under dns of GET /v1/webhosting/{serviceId} in the workspace's zone for the domain, as one new version, replacing the records under conflicts. Needs a zone here: a 404 with DNS_ZONE_NOT_FOUND_ERROR without one.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Antwoord 204: The records are in the zone.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Show the account's password

POST /v1/webhosting/{serviceId}/password met het recht services:manage

The current password of the control panel and FTP account. Every time it is shown is audited.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Antwoord 200: The password. HostingPassword

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The package is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change the account's password

PUT /v1/webhosting/{serviceId}/password met het recht services:manage

The password of the control panel and FTP account, at least 12 characters. Kept encrypted so it can be shown again.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Body

VeldTypeOmschrijving
passwordstring (max 128 characters)

Antwoord 204: The password is changed.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The package is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The control panel did not take it.

Make a sign-in link to the control panel

POST /v1/webhosting/{serviceId}/sign-in met het recht services:manage

A link that opens the control panel signed in as the account, for a short while. Only where signInAvailable is true.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Antwoord 200: The link. SignInLink

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The package is not active, or its control panel cannot make sign-in links. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The control panel did not make one.

Telefonie

Get a VoIP organisation with its numbers

GET /v1/voip/{serviceId}

The service id is one of type voip from GET /v1/services. Phones, users and queues are set up in the provider's own dashboard; invite its owners with POST .../owners.

Parameters

VeldTypeOmschrijving
serviceIdstring (uuid), in path

Antwoord 200: The organisation. VoipPackage

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List numbers that can be taken

GET /v1/voip/{serviceId}/available-numbers met het recht services:manage

Numbers in the provider's stock. search matches digits anywhere in the number; a leading 0 stands for +31.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path
search (optioneel)string, in query

Antwoord 200: The numbers. AvailableNumberList

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The organisation is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The provider did not answer.

Take a number

POST /v1/voip/{serviceId}/numbers met het recht services:manage

One from GET .../available-numbers, by its id, up to the numbers the product includes (maxNumbers).

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Body

VeldTypeOmschrijving
numberIdstring (max 100 characters)

Antwoord 201: The number, now taken. VoipNumber

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The organisation is not active, has all the numbers it includes (VOIP_NUMBER_LIMIT_ERROR), or the number was taken meanwhile. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The provider did not take it.

Release a number

DELETE /v1/voip/{serviceId}/numbers/{numberId} met het recht services:manage

Back to the provider's stock at once: calls to it stop, and somebody else may take it. The id is the one under numbers.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path
numberIdstring (uuid), in path

Antwoord 204: The number is released.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The organisation is not active. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The provider did not take it.

Invite an owner to the provider's dashboard

POST /v1/voip/{serviceId}/owners met het recht services:manage

The provider mails the address an invitation to own the organisation in its own dashboard, where phones, users and queues are set up. The invitation takes a seat until it is answered.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
serviceIdstring (uuid), in path

Body

VeldTypeOmschrijving
emailstring (email, max 254 characters)

Antwoord 204: The invitation is sent.

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The organisation is not active, or the provider refused the address. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
  • 502: The provider did not take it.

Betalen

Top up the balance

POST /v1/balance/top-ups met het recht billing:manage

Opens a checkout to add amount cents without VAT (10.00 to 1000.00 EUR) to the balance. A person pays at checkoutUrl; the balance goes up once they have. The workspace's VAT and the method's transaction costs are charged on top, and invoiced together once paid; the balance then pays orders and renewals without VAT.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
amountinteger (1000 to 100000)
method"ideal" | "bancontact" | "creditcard" | "paypal"

Antwoord 201: The checkout. TopUp

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 409: No billing details yet, a method the workspace may not use or over its limits, or the payment provider did not answer. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get the invoice terms

GET /v1/invoice-terms

How often the workspace is invoiced for its renewals (weekly without terms), the amount at which it is invoiced sooner, what waits to be invoiced now, and its latest request for terms.

Antwoord 200: The terms. InvoiceTerms

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Ask for another invoice interval

POST /v1/invoice-terms/requests met het recht billing:manage

Asks Servur to invoice the workspace's renewals every interval (half-month, month or quarter) rather than weekly. Servur decides and sets a limit at which it invoices sooner; follow it with GET /v1/invoice-terms. One request at a time.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
interval"half-month" | "month" | "quarter"
motivationstring (max 2000 characters)

Antwoord 201: The request. Created

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 409: A request is waiting for an answer already. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Pay an invoice

POST /v1/invoices/{invoiceId}/payment met het recht billing:manage

Pays what an open invoice still owes. The balance does not pay invoices: it is without VAT, and pays orders and renewals. A checkout method answers with a checkoutUrl for a person to pay at; the invoice stays open until they have, and the method's transaction costs are added and invoiced on their own. saveMandate leaves a mandate behind once paid, so later invoices and renewals are charged without a checkout.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
invoiceIdstring (uuid), in path

Body

VeldTypeOmschrijving
method"ideal" | "bancontact" | "creditcard" | "paypal" | "bank-transfer"
saveMandate (optioneel)boolean

Antwoord 201: Paid, or a checkout opened. InvoicePayment

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The invoice is paid or void already, a payment for it is under way, no billing details yet, a method the workspace may not use or over its limits, or the payment provider did not answer. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List direct-debit mandates

GET /v1/mandates

The cards and accounts invoices and renewals are charged to without a checkout, left behind by a payment with saveMandate.

Antwoord 200: The mandates. MandateList

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Revoke a mandate

DELETE /v1/mandates/{mandateId} met het recht billing:manage

Stops charging the card or account without a checkout. Renewals then wait to be paid, by a person or POST /v1/orders/{orderId}/payment.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
mandateIdstring (uuid), in path

Antwoord 204: Revoked.

Fouten

  • 403: The key lacks the billing:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List payment methods

GET /v1/payment-methods

The methods a checkout offers, with the transaction costs each adds and whether the workspace may use them. Paying from the balance costs nothing and is not among them. A workspace asks for creditcard or paypal in the dashboard.

Antwoord 200: The methods. PaymentMethodList

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a payment

GET /v1/payments/{paymentId}

A payment and what it paid for. One still pending is checked at the payment provider before answering, so polling this shows when a checkout was paid.

Parameters

VeldTypeOmschrijving
paymentIdstring (uuid), in path

Antwoord 200: The payment. Payment

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Gegevens

Get the billing details

GET /v1/billing-details

Who invoices are made out to, and whether the VAT number makes them reverse-charged.

Antwoord 200: The billing details. BillingDetailsResult

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change the billing details

PUT /v1/billing-details met het recht account:manage

Written in full: a personal kind clears the company fields. A Dutch business needs its eight-digit cocNumber. phone is required, with its country code, and stored as E.164: +31201234567. A changed VAT number is checked with VIES at once; when VIES does not answer, it is checked later and the details are saved all the same.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body, vorm 1 van 2

VeldTypeOmschrijving
kind"personal"
contactNamestring (max 120 characters)
emailstring (email)
phonestring
addressLine1string (max 200 characters)
addressLine2string (max 200 characters) | null
postalCodestring (max 20 characters)
citystring (max 120 characters)
countrystring
language (optioneel)"en" | "nl"

Body, vorm 2 van 2

VeldTypeOmschrijving
kind"business"
companyNamestring (max 200 characters)
contactNamestring (max 120 characters)
emailstring (email)
phonestring
addressLine1string (max 200 characters)
addressLine2string (max 200 characters) | null
postalCodestring (max 20 characters)
citystring (max 120 characters)
countrystring
language (optioneel)"en" | "nl"
vatNumberstring | null
cocNumberstring | null

Antwoord 200: The billing details as they are now. BillingDetailsResult

Fouten

  • 403: The key lacks the account:manage permission, or the request comes from an address it does not allow.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

List domain claims

GET /v1/domain-claims

The workspace’s claims on domains registered elsewhere, newest first, each with the services that lapse with it. Email, DNS zones and webhosting for such a domain need a verified claim.

Parameters

VeldTypeOmschrijving
domain (optioneel)string, in query
purpose (optioneel)"email" | "dnszone" | "webhosting", in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of claims. DomainClaimPage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Claim a domain

POST /v1/domain-claims met het recht services:manage

For a domain registered elsewhere, ahead of ordering email, a DNS zone or webhosting for it. Publish the record at the domain’s DNS and leave it there; it is looked for at once and then daily. Claiming one the workspace already has returns it, checked again. At most 30 an hour per key.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
domainstring
purpose"email"

Antwoord 201: The claim. DomainClaim

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 409: Another workspace holds a verified claim on it (DOMAINCLAIM_TAKEN_ERROR), or the workspace has 100 claims (DOMAINCLAIM_LIMIT_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Check a domain claim now

POST /v1/domain-claims/{domainclaimId}/verify met het recht services:manage

Looks for the record now rather than at the next daily round. Not finding it is an answer, not an error: change is null and the claim stays as it was. At most 20 a minute per key.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
domainclaimIdstring (uuid), in path

Antwoord 200: The claim after the check. DomainClaimCheck

Fouten

  • 403: The key lacks the services:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Add a domain holder

POST /v1/domain-holders met het recht account:manage

A person or organisation domain names can be registered to. phone with its country code, stored as E.164: +31201234567; country as two letters.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
namestring (max 120 characters)
organizationstring (max 200 characters) | null
emailstring (email)
phonestring
addressLine1string (max 200 characters)
postalCodestring (max 20 characters)
citystring (max 120 characters)
countrystring

Antwoord 201: The new holder. DomainHolderDetails

Fouten

  • 403: The key lacks the account:manage permission, or the request comes from an address it does not allow.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Get a domain holder

GET /v1/domain-holders/{holderId}

With every detail the registries get.

Parameters

VeldTypeOmschrijving
holderIdstring (uuid), in path

Antwoord 200: The holder. DomainHolderDetails

Fouten

  • 404: Not found, or not in the key's workspace.
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change a domain holder

PUT /v1/domain-holders/{holderId} met het recht account:manage

Every domain registered to the holder takes the change: the registries are updated after the answer, and tried again while they refuse.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
holderIdstring (uuid), in path

Body

VeldTypeOmschrijving
namestring (max 120 characters)
organizationstring (max 200 characters) | null
emailstring (email)
phonestring
addressLine1string (max 200 characters)
postalCodestring (max 20 characters)
citystring (max 120 characters)
countrystring

Antwoord 200: The holder as it is now. DomainHolderDetails

Fouten

  • 403: The key lacks the account:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: A new name, organisation or email while the holder owns a domain on an extension that charges for a change of owner (DOMAIN_HOLDER_OWNER_CHANGE_COSTS_ERROR): create a new holder for the domains meant instead. The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Remove a domain holder

DELETE /v1/domain-holders/{holderId} met het recht account:manage

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
holderIdstring (uuid), in path

Antwoord 204: Removed.

Fouten

  • 403: The key lacks the account:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: A domain in an order that is not cancelled names the holder (DOMAIN_HOLDER_IN_USE_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Mensen

List members

GET /v1/members

The people in the workspace and the invitations out, in the order they were invited. role=owner gives the owners only.

Parameters

VeldTypeOmschrijving
status (optioneel)"joined" | "invited" | "expired", in query
role (optioneel)"owner", in query
search (optioneel)string (max 100 characters), in query
cursor (optioneel)string (uuid), in query
limit (optioneel)integer (1 to 100), in query

Antwoord 200: A page of members. MemberPage

Fouten

  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Invite somebody

POST /v1/members met het recht members:invite

Mails an invitation to the address, valid for 14 days, in the name of the workspace. The invitee answers it signed in to that address, and joins without permissions; give them some with PUT /v1/members/{memberId}/permissions. At most 20 an hour per key.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.

Body

VeldTypeOmschrijving
emailstring (email)

Antwoord 201: The invitation. Invitation

Fouten

  • 403: The key lacks the members:invite permission, or the request comes from an address it does not allow.
  • 409: The address is a member already (ALREADY_A_MEMBER_ERROR) or has an invitation that is still open (INVITE_ALREADY_SENT_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Remove a member or withdraw an invitation

DELETE /v1/members/{memberId} met het recht members:manage

A member is told by mail; a withdrawn invitation is not. An owner is never removed with a key: 403 with MEMBER_IS_OWNER_ERROR; owners do that in the dashboard.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
memberIdstring (uuid), in path

Antwoord 200: Removed. Created

Fouten

  • 403: The key lacks the members:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Change what a member may do

PUT /v1/members/{memberId}/permissions met het recht members:manage

Replaces the member’s permissions with these: members:invite, members:manage, services:manage, services:transfer, billing:manage. A key cannot give *, workspace:manage or api:manage to somebody who does not hold it (PERMISSION_NOT_GRANTABLE_ERROR), and cannot change an owner (MEMBER_IS_OWNER_ERROR); owners do that in the dashboard. The member is told by mail when something changed.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
memberIdstring (uuid), in path

Body

VeldTypeOmschrijving
permissions"*" | "workspace:manage" | "members:invite" | "members:manage" | "services:manage" | "services:transfer" | "billing:manage" | "api:manage"[]

Antwoord 200: The permissions as they are now. MemberPermissions

Fouten

  • 403: The key lacks the members:manage permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Send an invitation again

POST /v1/members/{memberId}/resend met het recht members:invite

Mails it again and gives it 14 days from now, also when it had lapsed. At most 10 an hour per key.

Parameters

VeldTypeOmschrijving
Idempotency-Key (optioneel)string (max 255 characters), in headerAny unique string up to 255 characters. The same request sent again with it within a day gets the first answer, with Idempotent-Replayed: true, instead of being done twice. Another request with the same key is refused.
memberIdstring (uuid), in path

Antwoord 200: The invitation. Invitation

Fouten

  • 403: The key lacks the members:invite permission, or the request comes from an address it does not allow.
  • 404: Not found, or not in the key's workspace.
  • 409: The address has joined already (ALREADY_A_MEMBER_ERROR). The Idempotency-Key was used for another request (IDEMPOTENCY_KEY_REUSED), or its first request is still running (IDEMPOTENCY_KEY_IN_PROGRESS).
  • 423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).

Schema's

De vormen die de antwoorden hierboven delen, elk één keer.

AuthCode

VeldTypeOmschrijving
authCodestring

Availability

VeldTypeOmschrijving
domainstring
status"available" | "registered" | "premium" | "invalid" | "unknown"registered can be transferred in; unknown is a registry that did not answer in time.
premiumPriceobject | nullThe registry's price of a premium name, which Servur does not register through the API.
premiumPrice.amountinteger
premiumPrice.currencystring
priceobject | nullThe workspace's prices for one year, without VAT; null for an extension Servur does not sell.
price.registerinteger
price.renewinteger | null
price.transferinteger | null
price.currencystring

AvailableNumberList

VeldTypeOmschrijving
itemsobject[]
items[].idstringThe provider's id: pass it as numberId to take the number.
items[].e164string

Balance

VeldTypeOmschrijving
balanceintegerWithout VAT: it was invoiced with VAT when topped up, so it pays the subtotal of an order.
currencystring

BillingDetails

VeldTypeOmschrijving
kind"personal" | "business"
companyNamestring | null
contactNamestring
emailstring
phonestring | nullE.164, such as +31201234567; null on details saved before a phone number was required.
addressLine1string
addressLine2string | null
postalCodestring
citystring
countrystring
vatNumberstring | null
vatNumberCheckobject | nullWhat VIES said about the VAT number, where it decides the VAT: null when the number does not matter (none, Dutch, or outside the EU). valid means invoices are reverse-charged.
vatNumberCheck.status"unchecked" | "valid" | "invalid"
vatNumberCheck.checkedAtstring (date-time) | null
vatNumberCheck.registeredNamestring | null
cocNumberstring | nullChamber of Commerce (KvK) number.
language"en" | "nl"Of the billing mails.
updatedAtstring (date-time)

BillingDetailsResult

VeldTypeOmschrijving
billingDetailsBillingDetails | nullNull until they are filled in.

Cancellation

VeldTypeOmschrijving
idstring (uuid)
cancelAtstring (date-time)It runs until here, and is not renewed.

Created

VeldTypeOmschrijving
idstring (uuid)

CreatedMailbox

VeldTypeOmschrijving
idstring (uuid)
addressstring

CreatedTransfer

VeldTypeOmschrijving
idstring (uuid)
codestringShown once: give it to the receiving workspace.
expiresAtstring (date-time)

Discount

VeldTypeOmschrijving
codestring
kind"percentage" | "fixed"
percentagenumber | nullFor a percentage code.
amountinteger | nullFor a fixed code, without VAT.
currencystring | null
productIdsstring (uuid)[]The products it applies to; empty for every product.
endsAtstring (date-time) | null

DnsRecord

VeldTypeOmschrijving
idstring (uuid)
type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
namestring@ for the zone itself.
valuestring
ttlinteger
priorityinteger | nullMX and SRV only.
managedByobject | nullThe service that keeps this record in place, which may put it back when it is changed.
managedBy.service"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip" | "domainclaim" | "redirect"
managedBy.serviceIdstring (uuid) | null
managedBy.domainstring | null

DnsRecordValues

VeldTypeOmschrijving
type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
namestring
valuestring
ttlinteger
priorityinteger | null

DnsRedirect

VeldTypeOmschrijving
idstring (uuid)
namestring@ for the zone itself, or a name under it such as www.
pathstringThe path it answers, with {name} for one segment or {name*} for the rest, to carry over into destination as {name}.
destinationstring
statusCode301 | 302
createdAtstring (date-time)

DnsRedirectList

VeldTypeOmschrijving
itemsDnsRedirect[]

DnssecMode

VeldTypeOmschrijving
mode"off" | "automatic" | "manual"
dsRecordsDsRecordValues[]What the registry has for the domain now: ours with automatic, yours with manual.

DnsTemplate

VeldTypeOmschrijving
idstring (uuid)
servurbooleanTrue for one of Servur's own, which can be applied but not changed.
namestring
descriptionstring | null
registrationDefaultbooleanWhether a new registration on our nameservers gets these records.
recordsDnsRecordValues[]{domain} in a value stands for the zone the template is applied to.
createdAtstring (date-time)
updatedAtstring (date-time)

DnsTemplateList

VeldTypeOmschrijving
itemsDnsTemplate[]

DnsTemplatePlan

VeldTypeOmschrijving
mode"replace" | "merge"
addedDnsRecordValues[]
removedDnsRecordValues[]
updatedDnsRecordValues[]Records kept with another TTL or priority.
skippedobject[]Records a merge leaves out: there already, or next to a CNAME.
skipped[].reason"exists" | "conflict"
skipped[].recordDnsRecordValues
warningsobject[]What may stop working: what a replace takes away, or what a merge puts beside its like.
warnings[].code"email-removed" | "website-removed" | "verification-removed" | "records-removed" | "address-added" | "mail-added" | "spf-added"
warnings[].recordsDnsRecordValues[]
ttlRaisedintegerHow many of the template's records had their TTL raised to the plan's minimum.
overLimitbooleanWhether the zone would grow past its plan's record limit, which applying refuses.

DnsZone

VeldTypeOmschrijving
idstring (uuid)
namestring
nameserversstring[]
recordsDnsRecord[]
versionIdstring (uuid) | nullThe current version, to pass as baseVersionId when replacing the records; null on a zone never changed.

DnsZoneOrderItem

VeldTypeOmschrijving
type"dnszone"
productIdstring (uuid)From GET /v1/products, of the same type.
interval (optioneel)objectOne of the product's price intervals; its shortest when left out.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger (1 to 60)
domainstringThe domain to host the DNS of; it need not be registered here.

DnsZonePage

VeldTypeOmschrijving
itemsDnsZoneSummary[]
nextCursorstring (uuid) | null

DnsZoneSummary

VeldTypeOmschrijving
idstring (uuid)
namestring
dnssecboolean
publishedAtstring (date-time) | null
createdAtstring (date-time)

DnsZoneVersion

VeldTypeOmschrijving
idstring (uuid)
recordsDnsRecordValues[]
createdAtstring (date-time)

DnsZoneVersionPage

VeldTypeOmschrijving
itemsDnsZoneVersionSummary[]
nextCursorstring (uuid) | null

DnsZoneVersionRef

VeldTypeOmschrijving
versionIdstring (uuid) | nullThe version the change left behind; null when nothing changed on a zone never changed.

DnsZoneVersionSummary

VeldTypeOmschrijving
idstring (uuid)
source"initial" | "saved" | "record" | "template" | "rollback" | "claim" | "service" | "sync"What made it: a save of all records, one record, a template, a rollback, Servur itself, or Servur putting the zone back in step with its DNS servers.
addedinteger
removedinteger
changedinteger
recordCountinteger
restoredVersionIdstring (uuid) | null
madeByobject | nullWho made it: a person, or an API key by its name. Null when Servur did.
madeBy.kind"user" | "api-key"
madeBy.namestring
createdAtstring (date-time)

Domain

VeldTypeOmschrijving
idstring (uuid)
namestring
status"pending" | "active" | "suspended" | "cancelled" | "expired"
registeredAtstring (date-time) | null
expiresAtstring (date-time) | null
nameserversstring[]
usesServurDnsboolean
dnsZoneIdstring (uuid) | null
dnssecMode"off" | "automatic" | "manual"

DomainCheckResult

VeldTypeOmschrijving
tldstring
domainstring
status"available" | "registered" | "premium" | "invalid" | "unknown"registered can be transferred in; premium is priced by the registry; invalid is refused by the registry; unknown did not answer in time.
premiumPriceobject | nullThe registry's price of a premium name, in its currency.
premiumPrice.amountinteger
premiumPrice.currencystring
source"realtime-register" | "adac" | "rdap" | null

DomainClaim

VeldTypeOmschrijving
idstring (uuid)
domainstring
purpose"email" | "dnszone" | "webhosting"The kind of service it is claimed for.
status"pending" | "verified" | "lapsed"
recordobjectThe record that proves the claim, to publish at the domain’s DNS and leave there.
record.type"TXT"
record.namestring
record.relativeNamestringThe name within the domain’s own zone.
record.valuestring
automaticbooleanTrue when the domain’s zone is here and Servur adds the record.
registeredHerebooleanTrue when the domain is registered here, proof enough.
verifiedAtstring (date-time) | null
checkedAtstring (date-time) | null
seenAtstring (date-time) | null
failingSincestring (date-time) | nullSet while a verified claim’s proof is missing.
lapsesAtstring (date-time) | nullWhen it lapses unless the proof comes back.
createdAtstring (date-time)

DomainClaimCheck

VeldTypeOmschrijving
idstring (uuid)
domainstring
purpose"email" | "dnszone" | "webhosting"The kind of service it is claimed for.
status"pending" | "verified" | "lapsed"
recordobjectThe record that proves the claim, to publish at the domain’s DNS and leave there.
record.type"TXT"
record.namestring
record.relativeNamestringThe name within the domain’s own zone.
record.valuestring
automaticbooleanTrue when the domain’s zone is here and Servur adds the record.
registeredHerebooleanTrue when the domain is registered here, proof enough.
verifiedAtstring (date-time) | null
checkedAtstring (date-time) | null
seenAtstring (date-time) | null
failingSincestring (date-time) | nullSet while a verified claim’s proof is missing.
lapsesAtstring (date-time) | nullWhen it lapses unless the proof comes back.
createdAtstring (date-time)
change"verified" | "restored" | "failing" | "lapsed" | nullWhat this check changed; null when nothing did.

DomainClaimPage

VeldTypeOmschrijving
itemsobject[]
items[].idstring (uuid)
items[].domainstring
items[].purpose"email" | "dnszone" | "webhosting"The kind of service it is claimed for.
items[].status"pending" | "verified" | "lapsed"
items[].recordobjectThe record that proves the claim, to publish at the domain’s DNS and leave there.
items[].record.type"TXT"
items[].record.namestring
items[].record.relativeNamestringThe name within the domain’s own zone.
items[].record.valuestring
items[].automaticbooleanTrue when the domain’s zone is here and Servur adds the record.
items[].registeredHerebooleanTrue when the domain is registered here, proof enough.
items[].verifiedAtstring (date-time) | null
items[].checkedAtstring (date-time) | null
items[].seenAtstring (date-time) | null
items[].failingSincestring (date-time) | nullSet while a verified claim’s proof is missing.
items[].lapsesAtstring (date-time) | nullWhen it lapses unless the proof comes back.
items[].createdAtstring (date-time)
items[].servicesobject[]The services that lapse with it.
items[].services[].idstring (uuid)
items[].services[].namestring
items[].services[].type"email" | "dnszone" | "webhosting"
nextCursorstring | null

DomainHolder

VeldTypeOmschrijving
idstring (uuid)
namestring
organizationstring | null
emailstring
countrystring

DomainHolderDetails

VeldTypeOmschrijving
idstring (uuid)
namestring
organizationstring | null
emailstring
phonestringE.164, such as +31201234567.
addressLine1string
postalCodestring
citystring
countrystringISO 3166-1 alpha-2, such as NL.
createdAtstring (date-time)
updatedAtstring (date-time)

DomainHolderList

VeldTypeOmschrijving
itemsDomainHolder[]

DomainOrderItem

VeldTypeOmschrijving
type"domain"
domainstring
holderId (optioneel)string (uuid)From GET /v1/domain-holders. The workspace's default holder when left out.
adminHolderId (optioneel)string (uuid)The admin contact, another domain holder. The holder itself when left out.
techHolderId (optioneel)string (uuid)The technical contact, another domain holder. The holder itself when left out.
billingHolderId (optioneel)string (uuid)The billing contact, another domain holder. The holder itself when left out.
transferCode (optioneel)string (max 100 characters)To transfer a registered domain in rather than register a free one.
transferAt (optioneel)string (date)With transferCode: the day (YYYY-MM-DD, Amsterdam) to start the transfer, from tomorrow up to 90 days ahead, such as just before the domain renews where it is now. Paid now, set up on that day; its service period starts then. Left out, the transfer starts as soon as it is paid. Out of range is the problem transfer-date.
nameservers (optioneel)object | objectOur nameservers, with a DNS zone here, unless said otherwise.

DomainSearch

VeldTypeOmschrijving
idstring (uuid)
namestringThe name searched for, without its extension.
domainsobject[]
domains[].tldstring
domains[].domainstring
domains[].availability"subscribed" | "pending" | "unknown"subscribed is held at Servur already; pending is answered through the query URLs; unknown could not be asked.
domains[].priceobject | nullThe workspace's prices for one year, without VAT.
domains[].price.registerinteger
domains[].price.renewinteger | null
domains[].price.transferinteger | null
domains[].price.currencystring
queryobject | nullNull when no extension is pending.
query.expiresAtstring (date-time)The URLs are refused after this, about 30 seconds on.
query.urlsobject
query.urls.syncstring (uri)GET answers once every extension is checked: { name, results: [DomainCheckResult] }.
query.urls.streamstring (uri)GET as server-sent events: a result event per extension with a DomainCheckResult as it is answered, then done.
query.urls.socketstring (uri)A WebSocket that sends { type: "result", result: DomainCheckResult } per extension as it is answered, then { type: "done" }, and closes.

DsRecord

VeldTypeOmschrijving
keyTaginteger
algorithm8 | 10 | 13 | 14 | 15 | 16
digestType2 | 4
digeststring
dnskeystring | nullThe key the record was made from, as dig DNSKEY prints it (257 3 13 <base64>), for a registrar that asks for keys; null when not known.
idstring (uuid)

DsRecordList

VeldTypeOmschrijving
itemsDsRecord[]

DsRecordValues

VeldTypeOmschrijving
keyTaginteger
algorithm8 | 10 | 13 | 14 | 15 | 16
digestType2 | 4
digeststring
dnskeystring | nullThe key the record was made from, as dig DNSKEY prints it (257 3 13 <base64>), for a registrar that asks for keys; null when not known.

EmailOrderItem

VeldTypeOmschrijving
type"email"
productIdstring (uuid)From GET /v1/products, of the same type.
interval (optioneel)objectOne of the product's price intervals; its shortest when left out.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger (1 to 60)
domainstringThe domain the addresses are at; it need not be registered here.
mailboxes (optioneel)integer (1 to 1000)
addresses (optioneel)string[]Names for some or all mailboxes; the rest are chosen later in the dashboard.
migrate (optioneel)booleanTrue to have existing mail moved in.

EmailPackage

VeldTypeOmschrijving
idstring (uuid)
domainstring
status"pending" | "active" | "suspended" | "cancelled" | "expired"
maxMailboxesinteger
mailboxesMailbox[]

Error

VeldTypeOmschrijving
errorstringWhat went wrong, such as not-found or forbidden.
message (optioneel)stringThe precise reason, such as API_KEY_PERMISSION_MISSING.

GeneralOrderItem

VeldTypeOmschrijving
type"general"
productIdstring (uuid)From GET /v1/products, of the same type.
interval (optioneel)objectOne of the product's price intervals; its shortest when left out.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger (1 to 60)
quantity (optioneel)integer (1 to 1000)Items or hours.

HostingPassword

VeldTypeOmschrijving
passwordstring

HostingUsageItem

VeldTypeOmschrijving
usednumber
limitnumber | nullNull for unlimited.

Invitation

VeldTypeOmschrijving
idstring (uuid)
emailstring
expiresAtstring (date-time) | null

Invoice

VeldTypeOmschrijving
idstring (uuid)
numberstring | null
kind"invoice" | "credit-note"
status"open" | "paid" | "void"Of a credit note: open while the refund is on its way, paid once it arrived.
currencystring
totalintegerWith VAT.
issuedAtstring (date-time) | null
dueAtstring (date-time) | null
paidAtstring (date-time) | null
subtotalinteger
taxAmountinteger
amountPaidinteger
amountDueinteger
vatTreatment"standard" | "reverse-charge" | "export"
referencestring | null
creditedobject | nullOn a credit note: the invoice it credits.
credited.idstring (uuid)
credited.numberstring | null
linesobject[]
lines[].namestring
lines[].descriptionstring | null
lines[].quantitynumber
lines[].unitPriceinteger
lines[].subtotalinteger
lines[].taxRateintegerIn hundredths of a percent: 2100 is 21%.
lines[].taxAmountinteger
lines[].totalinteger
lines[].servicePeriodStartAtstring (date-time) | null
lines[].servicePeriodEndAtstring (date-time) | null
lines[].serviceIdstring (uuid) | null

InvoicePage

VeldTypeOmschrijving
itemsInvoiceSummary[]
nextCursorstring (uuid) | null

InvoicePayment

VeldTypeOmschrijving
paymentIdstring (uuid) | nullNull when nothing was left to pay.
checkoutUrlstring (uri) | nullWhere a person pays, for a checkout method; null when paid from the balance.
invoiceStatus"paid" | "open"open until the checkout is paid.

InvoiceSummary

VeldTypeOmschrijving
idstring (uuid)
numberstring | null
kind"invoice" | "credit-note"
status"open" | "paid" | "void"Of a credit note: open while the refund is on its way, paid once it arrived.
currencystring
totalintegerWith VAT.
issuedAtstring (date-time) | null
dueAtstring (date-time) | null
paidAtstring (date-time) | null

InvoiceTerms

VeldTypeOmschrijving
termsobject | nullNull for a workspace invoiced weekly, as every workspace is without terms.
terms.interval"week" | "half-month" | "month" | "quarter"
terms.pendingLimitintegerInvoiced at once when what waits to be invoiced reaches this, with VAT.
terms.grantedAtstring (date-time)
terms.updatedAtstring (date-time)
pendingOwedintegerWhat is billed and not invoiced yet.
requestobject | nullThe latest request for other terms, if any.
request.idstring (uuid)
request.interval"week" | "half-month" | "month" | "quarter"
request.motivationstring
request.status"pending" | "approved" | "rejected"
request.decisionNotestring | null
request.decidedAtstring (date-time) | null
request.createdAtstring (date-time)

Mailbox

VeldTypeOmschrijving
idstring (uuid)
addressstring
localPartstring
displayNamestring | null
usedBytesinteger | nullNull when the mail server did not say.
createdAtstring (date-time)

MandateList

VeldTypeOmschrijving
itemsobject[]
items[].idstring (uuid)
items[].status"pending" | "valid" | "invalid" | "revoked"
items[].method"direct-debit" | "creditcard" | "paypal" | "dummy"
items[].labelstring | nullSuch as the last digits of the card or account.
items[].isDefaultbooleanCharged first, for renewals and orders paid by direct debit. Without one, the newest valid mandate is. Chosen in the dashboard.
items[].cardExpiresOnstring (date) | nullA card's last valid day; null for an account.
items[].revokedAtstring (date-time) | null
items[].createdAtstring (date-time)

Member

VeldTypeOmschrijving
idstring (uuid)
userIdstring (uuid) | nullNull for an invitation not accepted yet.
namestring | null
emailstring
status"joined" | "invited" | "expired"
permissionsstring[]* is the owner.
invitedAtstring (date-time)
joinedAtstring (date-time) | null
expiresAtstring (date-time) | nullWhen an open invitation lapses.
accessEndsAtstring (date-time) | nullSet for Servur support given temporary access, until when.

MemberPage

VeldTypeOmschrijving
itemsMember[]
nextCursorstring | null

MemberPermissions

VeldTypeOmschrijving
idstring (uuid)
permissionsstring[]

NameserversResult

VeldTypeOmschrijving
nameserversstring[]
dnssecClearedbooleanWhether DNSSEC was turned off for the move.

Order

VeldTypeOmschrijving
idstring (uuid)
numberstring
status"pending" | "paid" | "cancelled"
source"checkout" | "admin" | "renewal" | "plan-change" | "transfer" | "restore" | "credits"What made it: an order placed (checkout, also through the API), a renewal, a plan change, a domain restored from quarantine, AI credits for a VoIP service.
currencystring
totalintegerWith VAT.
createdAtstring (date-time)
subtotalinteger
taxAmountinteger
paidAtstring (date-time) | null
cancelledAtstring (date-time) | null
linesobject[]
lines[].kind"product" | "discount" | "fee" | "credit"credit is what the balance paid: it takes the subtotal and VAT off again, as the top-up was invoiced with VAT, so an order paid from the balance comes to nothing.
lines[].namestring
lines[].descriptionstring | null
lines[].quantitynumber
lines[].unitPriceinteger
lines[].subtotalinteger
lines[].taxRateintegerIn hundredths of a percent: 2100 is 21%.
lines[].taxAmountinteger
lines[].totalinteger
lines[].serviceIdstring (uuid) | nullThe service the line made or renews, once the order is paid.

OrderPage

VeldTypeOmschrijving
itemsOrderSummary[]
nextCursorstring (uuid) | null

OrderSummary

VeldTypeOmschrijving
idstring (uuid)
numberstring
status"pending" | "paid" | "cancelled"
source"checkout" | "admin" | "renewal" | "plan-change" | "transfer" | "restore" | "credits"What made it: an order placed (checkout, also through the API), a renewal, a plan change, a domain restored from quarantine, AI credits for a VoIP service.
currencystring
totalintegerWith VAT.
createdAtstring (date-time)

Payment

VeldTypeOmschrijving
idstring (uuid)
purpose"order" | "invoice" | "top-up" | "mandate"
orderobject | null
order.idstring (uuid)
order.numberstring
order.status"pending" | "paid" | "cancelled"
invoiceobject | null
invoice.idstring (uuid)
invoice.numberstring
invoice.status"draft" | "open" | "paid" | "void"
status"pending" | "authorized" | "paid" | "failed" | "cancelled" | "expired" | "charged-back"
amountintegerWith VAT and any transaction costs.
currencystring
method"ideal" | "bancontact" | "creditcard" | "bank-transfer" | "direct-debit" | "paypal" | "apple-pay" | "credit" | "dummy" | nullHow it was paid in the end; credit is the balance. Null until the provider says.
failureMessagestring | null
createdAtstring (date-time)
paidAtstring (date-time) | null

PaymentMethodList

VeldTypeOmschrijving
itemsobject[]
items[].method"ideal" | "bancontact" | "creditcard" | "paypal" | "bank-transfer" | "direct-debit"direct-debit pays orders only, on the mandate an iDEAL or Bancontact payment left.
items[].feeobject
items[].fee.fixedAmountintegerCents without VAT, per payment.
items[].fee.rateintegerHundredths of a percent of what is charged, VAT included: 180 is 1.8%.
items[].allowedbooleanWhether the workspace may pay with it. creditcard, paypal and direct-debit need an admin to allow them; direct-debit also a mandate.
items[].availableinteger | nullFor an allowed creditcard, paypal or direct-debit: the most one payment can be right now, within its limit per payment and what is left of the month. Null for a method without limits.

PeriodChange

VeldTypeOmschrijving
kind"scheduled" | "kept"scheduled: the new period starts when the current one ends. kept: the current period, which withdraws a move waiting.
effectiveAtstring (date-time)

PlanChange

VeldTypeOmschrijving
kind"upgrade" | "downgrade"upgrade takes effect once its order is paid (at once when nothing is due); downgrade at the end of the period.
effectiveAtstring (date-time) | nullWhen a downgrade takes effect.
orderobject | nullThe order to pay before the change takes effect; pay it with POST /v1/orders/{orderId}/payment.
order.idstring (uuid)
order.numberstring
order.totalinteger
order.currencystring

PlanOptions

VeldTypeOmschrijving
changeablebooleanWhether the plan can change at all: running, not cancelled, billed by a period.
currentobject
current.productobject
current.product.idstring (uuid)
current.product.namestring
current.amountintegerPer unit and period, without VAT.
current.quantityinteger
current.intervalobject | null
current.interval.unit"day" | "week" | "month" | "year"
current.interval.countinteger
current.periodEndstring (date-time)
scheduledobject | null
scheduled.productobject
scheduled.product.idstring (uuid)
scheduled.product.namestring
scheduled.intervalobject | null
scheduled.interval.unit"day" | "week" | "month" | "year"
scheduled.interval.countinteger
scheduled.quantityinteger
scheduled.effectiveAtstring (date-time)
optionsobject[]The other plans it can move to; pass product.id to POST .../plan.
options[].productobject
options[].product.idstring (uuid)
options[].product.namestring
options[].product.descriptionstring | null
options[].priceobject
options[].price.amountinteger
options[].price.currencystring
options[].price.workspaceRateboolean
options[].kind"upgrade" | "downgrade"
options[].dueNowintegerWithout VAT: what an upgrade costs for the rest of this period.
options[].effectiveAtstring (date-time)
quantityobject
quantity.adjustableboolean
quantity.currentinteger
quantity.dueNowPerUnitintegerWithout VAT: what one more unit costs for the rest of this period.
periodsobject[]The other billing periods; pass price.id to POST .../period.
periods[].priceobject
periods[].price.idstring (uuid)
periods[].price.amountinteger
periods[].price.currencystring
periods[].price.workspaceRateboolean
periods[].intervalobject | null
periods[].interval.unit"day" | "week" | "month" | "year"
periods[].interval.countinteger
periods[].effectiveAtstring (date-time)

Product

VeldTypeOmschrijving
idstring (uuid)
type"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip"
slugstring
namestring
descriptionstring | null
tldstring | nullThe extension, for a domain name product.
pricesProductPrice[]

ProductList

VeldTypeOmschrijving
itemsProduct[]

ProductPrice

VeldTypeOmschrijving
idstring (uuid)
purpose"default" | "setup" | "register" | "renew" | "transfer" | "restore" | "owner-change" | "credits"default per period and setup once for most products; register, renew, transfer and restore for domain names, and owner-change once for naming another holder of one (none is free); credits once per pack of 100 AI credits for a VoIP product.
unit"item" | "hour"
intervalobject | nullThe period the price is for; null for a one-time price. Pass it as interval to order.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger
currencystring
amountintegerIn cents, without VAT.
workspaceRatebooleanTrue when it is a rate agreed with this workspace, not the list price.

QuantityChange

VeldTypeOmschrijving
kind"ordered" | "applied" | "scheduled" | "kept"ordered: more units, added once order is paid. applied: more units with nothing due. scheduled: fewer units from the next period. kept: the current number, which withdraws a reduction waiting.
effectiveAtstring (date-time) | nullWhen fewer units take effect.
orderobject | nullThe order to pay before the change takes effect; pay it with POST /v1/orders/{orderId}/payment.
order.idstring (uuid)
order.numberstring
order.totalinteger
order.currencystring

RateLimitError

VeldTypeOmschrijving
error"too-many-requests"
retryAfterSecondsinteger

Service

VeldTypeOmschrijving
idstring (uuid)
type"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip"
namestringThe domain it is for where it has one, the product otherwise.
productobject
product.idstring (uuid)
product.namestring
status"pending" | "active" | "suspended" | "cancelled" | "expired"
suspensionReason"admin" | "lapsed" | "unpaid" | "unverified" | null
quantityinteger
currentPeriodobject
currentPeriod.startstring (date-time)
currentPeriod.endstring (date-time)
autoRenewboolean
cancelAtstring (date-time) | null
priceobjectPer unit and period, without VAT.
price.amountinteger
price.currencystring
price.intervalobject | null
price.interval.unit"day" | "week" | "month" | "year"
price.interval.countinteger
createdAtstring (date-time)

ServiceDns

VeldTypeOmschrijving
zoneobject | nullThe workspace's zone here that holds the domain; null when there is none to apply them to.
zone.idstring (uuid)
zone.namestring
validboolean | nullWhether the zone has every record and nothing in their way; null without a zone.
recordsobject[]The records the service needs.
records[].type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
records[].namestringRelative to the zone, @ for its apex.
records[].valuestring
records[].priorityinteger | null
records[].status"present" | "missing" | nullWhether the zone has it; null without a zone.
conflictsServiceDnsRecord[]Records in the zone that applying the service's records replaces.

ServiceDnsRecord

VeldTypeOmschrijving
type"A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS"
namestringRelative to the zone, @ for its apex.
valuestring
priorityinteger | null

ServicePage

VeldTypeOmschrijving
itemsService[]
nextCursorstring (uuid) | null
VeldTypeOmschrijving
signInUrlstringOpens the control panel signed in; use it at once.

Subscription

VeldTypeOmschrijving
idstring (uuid)The same id as the service in GET /v1/services.
productobject
product.idstring (uuid)
product.namestring
product.type"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip"
labelstring | null
status"pending" | "active" | "suspended" | "cancelled" | "expired"
suspensionReason"admin" | "lapsed" | "unpaid" | "unverified" | null
quantityinteger
priceobjectPer unit and period, without VAT, as it last renewed or was bought.
price.amountinteger
price.currencystring
price.intervalobject | null
price.interval.unit"day" | "week" | "month" | "year"
price.interval.countinteger
renewalAmountinteger | nullWhat the next period costs per unit, without VAT; null when nothing renews it.
currentPeriodobject
currentPeriod.startstring (date-time)
currentPeriod.endstring (date-time)
autoRenewboolean
cancelAtstring (date-time) | nullWhen a cancelled subscription stops.
cancelledAtstring (date-time) | null
startedAtstring (date-time) | null
createdAtstring (date-time)
scheduledChangeobject | nullAnother plan, period or fewer units, taking effect when the current period ends.
scheduledChange.productobject
scheduledChange.product.idstring (uuid)
scheduledChange.product.namestring
scheduledChange.intervalobject | null
scheduledChange.interval.unit"day" | "week" | "month" | "year"
scheduledChange.interval.countinteger
scheduledChange.quantityinteger
scheduledChange.effectiveAtstring (date-time)
pendingRenewalobject | nullThe renewal order waiting to be paid; pay it with POST /v1/orders/{orderId}/payment.
pendingRenewal.orderIdstring (uuid)
pendingRenewal.numberstring
pendingRenewal.totalinteger
pendingRenewal.currencystring

TopUp

VeldTypeOmschrijving
paymentIdstring (uuid)
checkoutUrlstring (uri)Where a person pays; the balance goes up once they have.
taxAmountintegerThe workspace's VAT on the amount, charged on top and invoiced.
feeintegerThe method's transaction costs, with VAT, charged on top and invoiced.
chargedintegerWhat the checkout charges: the amount, its VAT and the fee.

Transfer

VeldTypeOmschrijving
idstring (uuid)
status"open" | "claimed" | "accepted" | "completed" | "cancelled" | "expired"open: the code is out. claimed: another workspace entered it. accepted: that workspace's owner accepted, waiting for this one's owner to confirm. Accepting and confirming are done by owners in the dashboard.
direction"outgoing" | "incoming"Whether services leave or arrive in the key's workspace.
sourceobject
source.idstring (uuid)
source.namestring
targetobject | null
target.idstring (uuid)
target.namestring
acceptedByobject | null
acceptedBy.namestring
acceptedBy.emailstring
orderobject | nullFor an incoming transfer: the order that took the services on.
order.idstring (uuid)
order.numberstring
createdAtstring (date-time)
claimedAtstring (date-time) | null
acceptedAtstring (date-time) | null
completedAtstring (date-time) | null
cancelledAtstring (date-time) | null
expiresAtstring (date-time)
itemsobject[]
items[].subscriptionIdstring (uuid)
items[].herebooleanWhether the service is in the key's workspace now.
items[].productobject
items[].product.idstring (uuid)
items[].product.namestring
items[].product.type"general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip"
items[].labelstring | null
items[].quantityinteger
items[].status"pending" | "active" | "suspended" | "cancelled" | "expired"
items[].currentPeriodStartstring (date-time)
items[].currentPeriodEndstring (date-time)
items[].registryExpiresAtstring (date-time) | null
items[].autoRenewboolean
items[].cancelAtstring (date-time) | null
items[].scheduledProductNamestring | null
items[].renewalobject | nullWhat it renews for in the receiving workspace, per unit and period, without VAT.
items[].renewal.amountinteger
items[].renewal.currencystring
items[].renewal.intervalUnit"day" | "week" | "month" | "year"
items[].renewal.intervalCountinteger

TransferPage

VeldTypeOmschrijving
itemsTransfer[]
nextCursorstring (uuid) | null

UpdatedMailbox

VeldTypeOmschrijving
idstring (uuid)

ValidationError

VeldTypeOmschrijving
error"validation"
targetstringWhere the invalid input was: json, query or param.
issuesobject[]
issues[].pathstring | number[]
issues[].messagestring

VoipNumber

VeldTypeOmschrijving
idstring (uuid)
e164stringSuch as +31850020001.

VoipOrderItem

VeldTypeOmschrijving
type"voip"
productIdstring (uuid)From GET /v1/products, of the same type.
interval (optioneel)objectOne of the product's price intervals; its shortest when left out.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger (1 to 60)

VoipPackage

VeldTypeOmschrijving
idstring (uuid)
status"pending" | "active" | "suspended" | "cancelled" | "expired"
sipDomainstring
plan"start" | "pro" | "business"
seatsinteger
usedSeatsinteger | nullNull when the provider did not answer.
maxNumbersinteger
numbersobject[]
numbers[].idstring (uuid)
numbers[].e164stringSuch as +31850020001.
numbers[].createdAtstring (date-time)

WebhookEvent

VeldTypeOmschrijving
idstring (uuid)The event's id: the same for every webhook and every try. Deduplicate on it.
type"service.activated" | "service.renewal-due" | "service.renewed" | "service.suspended" | "service.unsuspended" | "service.cancelled" | "service.expired" | "order.paid" | "invoice.issued" | "invoice.paid" | "dns-zone.changed" | "domain.transferred" | "domain.nameservers-changed" | "mailbox.created" | "mailbox.deleted" | "webhook.ping"
createdAtstring (date-time)
workspaceIdstring (uuid)
dataobjectThe ids the event is about; read the rest through the API.
data.serviceId (optioneel)string (uuid)
data.orderId (optioneel)string (uuid)
data.invoiceId (optioneel)string (uuid)
data.zoneId (optioneel)string (uuid)
data.versionId (optioneel)string (uuid)
data.mailboxId (optioneel)string (uuid)

WebhostingOrderItem

VeldTypeOmschrijving
type"webhosting"
productIdstring (uuid)From GET /v1/products, of the same type.
interval (optioneel)objectOne of the product's price intervals; its shortest when left out.
interval.unit"day" | "week" | "month" | "year"
interval.countinteger (1 to 60)
domainstringThe domain the website is for; it need not be registered here.
start (optioneel)"empty" | "wordpress"An empty site, or WordPress installed.
migrate (optioneel)booleanTrue to have an existing site moved in.

WebhostingPackage

VeldTypeOmschrijving
idstring (uuid)
status"pending" | "active" | "suspended" | "cancelled" | "expired"
usernamestring
domainstring
serverHostnamestring | null
provisionedAtstring (date-time) | null
usageobject | nullIn megabytes where it is a size; null when the control panel did not answer.
usage.diskSpaceHostingUsageItem
usage.bandwidthHostingUsageItem
usage.emailAccountsHostingUsageItem
usage.databasesHostingUsageItem
usage.domainsHostingUsageItem
signInAvailablebooleanWhether POST .../sign-in can make a sign-in link.
dnsServiceDns

WorkspaceWithKey

VeldTypeOmschrijving
workspaceobject
workspace.idstring (uuid)
workspace.namestring
apiKeyobject
apiKey.idstring (uuid)
apiKey.namestring
apiKey.permissions"services:manage" | "services:transfer" | "billing:manage" | "account:manage" | "members:invite" | "members:manage"[]
apiKey.expiresAtstring (date-time) | null

ZoneDnssec

VeldTypeOmschrijving
enabledboolean
dsRecordsDsRecordValues[]The zone's DS records; none while unsigned.
dsSentbooleanWhether they went to the registry as well: for a domain registered here on our nameservers with DNSSEC off.
Was dit nuttig?

Alles voor jouw online succes, op één plek

Ontdek Servur