New
Version 1 of the API has just opened up for your own scripts, with API keys per workspace. What is between [brackets] we have yet to fill in.
The address
All paths below go after https://api.servur.com. Every request is made with an API key of the workspace, and only sees what belongs to that workspace: see authentication. An id from another workspace gives 404, as if it does not exist.
We add fields when needed, but within /v1 we do not rename or remove them. So ignore fields you do not know.
Lists in pages
A list returns at most limit items (50 by default, 100 at most), with nextCursor saying where the next page starts. If it is null, this was the last one.
curl "https://api.servur.com/v1/services?type=domainname&limit=100" \
-H "Authorization: Bearer srv_..."
{ "items": [ ... ], "nextCursor": "019a6b00-..." }Retrying safely
If you got no response to a request that changes something, such as an order, you do not know whether it worked. So send an Idempotency-Key along: a unique value of your own per action, such as a UUID. If you send the same request with the same key again within a day, you get the first response back, with Idempotent-Replayed: true, and it does not happen twice. The same key with a different request gives 409.
curl -X POST "https://api.servur.com/v1/orders" \
-H "Authorization: Bearer srv_..." \
-H "Idempotency-Key: 6f1c2d5e-order-customer-42" \
-H "Content-Type: application/json" \
-d '{
"items": [
{ "type": "dnszone", "productId": "...", "domain": "example.com" }
],
"payment": "balance"
}'OpenAPI
The whole API is also available as an OpenAPI spec (version 3.1), for Postman, Insomnia or a generated client: /v1/openapi.json. You do not need a key for it. The reference below comes from that same spec, which is why the descriptions are in English.
Every endpoint can return 400 (the input is wrong), 401 (no valid key) and 429 (too many requests), and 403 if the request comes from an address the key does not allow; an endpoint only lists the errors it adds to those. See error messages and rate limits.
Workspace
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.
Response 200: The workspace and the key. WorkspaceWithKey
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Services
List services
GET /v1/services
Every kind of service the workspace holds, newest first, a page at a time.
Parameters
| Field | Type | Description |
|---|---|---|
type (optional) | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip", in query | |
status (optional) | "pending" | "active" | "suspended" | "cancelled" | "expired", in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of services. ServicePage
Errors
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
| Field | Type | Description |
|---|---|---|
serviceId | string (uuid), in path |
Response 200: The service. Service
Errors
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.
Response 200: The templates. DnsTemplateList
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
name | string (max 100 characters) | |
description | string (max 500 characters) | null | |
records | object[] | |
records[].type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
records[].name | string (max 253 characters) | |
records[].value | string (max 4096 characters) | |
records[].ttl (optional) | integer (60 to 604800) | |
records[].priority (optional) | integer (0 to 65535) | null |
Response 201: The new template. Created
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.409: The workspace has a template with this name already. TheIdempotency-Keywas 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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
templateId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
name | string (max 100 characters) | |
description | string (max 500 characters) | null | |
records | object[] | |
records[].type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
records[].name | string (max 253 characters) | |
records[].value | string (max 4096 characters) | |
records[].ttl (optional) | integer (60 to 604800) | |
records[].priority (optional) | integer (0 to 65535) | null |
Response 200: The template. Created
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission services:manage
Zones it was applied to keep their records. Servur's own templates cannot be deleted.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
templateId | string (uuid), in path |
Response 204: Deleted.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of zones. DnsZonePage
Errors
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
| Field | Type | Description |
|---|---|---|
zoneId | string (uuid), in path |
Response 200: The zone and its records. DnsZone
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
enabled | boolean |
Response 200: The signing now. ZoneDnssec
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission services:manage
Checked against the zone's plan, kept as a new version of the zone, and published to the nameservers.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
name | string (max 253 characters) | |
value | string (max 4096 characters) | |
ttl | integer (60 to 604800) | |
priority | integer (0 to 65535) | null |
Response 201: The new record. Created
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
baseVersionId | string (uuid) | null | |
records | object[] | |
records[].type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
records[].name | string (max 253 characters) | |
records[].value | string (max 4096 characters) | |
records[].ttl | integer (60 to 604800) | |
records[].priority | integer (0 to 65535) | null |
Response 200: The version the records are now. DnsZoneVersionRef
Errors
403: The key lacks theservices:managepermission, 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 sincebaseVersionId, the set has a record twice, or it holds more than the plan allows. TheIdempotency-Keywas 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} with the permission services:manage
The whole record, as adding one takes it.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path | |
recordId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
name | string (max 253 characters) | |
value | string (max 4096 characters) | |
ttl | integer (60 to 604800) | |
priority | integer (0 to 65535) | null |
Response 200: The record. Created
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission services:manage
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path | |
recordId | string (uuid), in path |
Response 204: The record is gone.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
zoneId | string (uuid), in path |
Response 200: The redirects. DnsRedirectList
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
name | string (max 253 characters) | |
path | string (max 512 characters) | |
destination | string (max 2048 characters) | |
statusCode | 301 | 302 |
Response 201: The new redirect. Created
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path | |
redirectId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
name | string (max 253 characters) | |
path | string (max 512 characters) | |
destination | string (max 2048 characters) | |
statusCode | 301 | 302 |
Response 200: The redirect. Created
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission services:manage
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path | |
redirectId | string (uuid), in path |
Response 204: Deleted.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
templateId | string (uuid) | |
mode | "replace" | "merge" |
Response 200: What changed. DnsTemplatePlan
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
zoneId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
templateId | string (uuid) | |
mode | "replace" | "merge" |
Response 200: What would change. DnsTemplatePlan
Errors
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
| Field | Type | Description |
|---|---|---|
zoneId | string (uuid), in path | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of versions. DnsZoneVersionPage
Errors
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
| Field | Type | Description |
|---|---|---|
zoneId | string (uuid), in path | |
versionId | string (uuid), in path |
Response 200: The version. DnsZoneVersion
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
zoneId | string (uuid), in path | |
versionId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
baseVersionId | string (uuid) | null |
Response 200: The new version. DnsZoneVersionRef
Errors
403: The key lacks theservices:managepermission, 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 sincebaseVersionId, or the version holds more than the plan allows now. TheIdempotency-Keywas 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.
Domain names
List domain names
GET /v1/domains
The domain names of the workspace, as services. Get one for its registration details.
Parameters
| Field | Type | Description |
|---|---|---|
status (optional) | "pending" | "active" | "suspended" | "cancelled" | "expired", in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of domain names. ServicePage
Errors
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
| Field | Type | Description |
|---|---|---|
domainId | string (uuid), in path |
Response 200: The domain name. Domain
Errors
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 with the permission services:transfer
The code that moves the domain to another registrar. Written to the workspace's activity log every time.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainId | string (uuid), in path |
Response 200: The auth code. AuthCode
Errors
403: The key lacks theservices:transferpermission, 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. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
mode | "off" | "automatic" | "manual" |
Response 200: The mode and the DS records now. DnssecMode
Errors
403: The key lacks theservices:managepermission, 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), orautomaticis not possible for it. TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
domainId | string (uuid), in path |
Response 200: The DS records. DsRecordList
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
flags | 256 | 257 | |
algorithm | 8 | 10 | 13 | 14 | 15 | 16 | |
publicKey | string (max 4096 characters) |
Response 201: The domain's DS records now. DsRecordList
Errors
403: The key lacks theservices:managepermission, 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 isautomatic, the record is there already, or the domain has the most DS records it can. TheIdempotency-Keywas 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} with the permission services:manage
Takes the record away at the registry at once. Refused while DNSSEC is automatic; switch it to off instead.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainId | string (uuid), in path | |
recordId | string (uuid), in path |
Response 204: Deleted.
Errors
403: The key lacks theservices:managepermission, 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 isautomatic. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainId | string (uuid), in path |
Body, shape 1 of 2
| Field | Type | Description |
|---|---|---|
mode | "servur" |
Body, shape 2 of 2
| Field | Type | Description |
|---|---|---|
mode | "custom" | |
nameservers | string[] |
Response 200: The nameservers now set. NameserversResult
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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.
Ordering and paying
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
| Field | Type | Description |
|---|---|---|
domain | string (max 253 characters), in query |
Response 200: The availability. Availability
Errors
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
| Field | Type | Description |
|---|---|---|
code | string (max 64 characters), in path |
Response 200: The discount. Discount
Errors
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.
Response 200: The holders. DomainHolderList
Errors
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
| Field | Type | Description |
|---|---|---|
query | string (max 253 characters) |
Response 201: The search, with the URLs to get its statuses from. DomainSearch
Errors
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
| Field | Type | Description |
|---|---|---|
status (optional) | "pending" | "paid" | "cancelled", in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of orders. OrderPage
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Order products
POST /v1/orders with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
items | DomainOrderItem | 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 (optional) | string (max 64 characters) | A discount code, checked against this order as at checkout in the dashboard. |
expectedTotal (optional) | integer (0 or more) | The total you expect, with VAT: when the price is another, nothing is ordered. |
Response 201: The order, paid. Order
Errors
403: The key lacks thebilling:managepermission, 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 notexpectedTotal, adiscountCodethat is used up or for none of the products (DISCOUNT_NOT_APPLICABLE_ERROR), or no billing details yet. TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
orderId | string (uuid), in path |
Response 200: The order. Order
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
orderId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
payment | "balance" | "direct-debit" |
Response 200: The order, paid. Order
Errors
403: The key lacks thebilling:managepermission, 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. TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
type (optional) | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip", in query |
Response 200: The products. ProductList
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Get an email package with its mailboxes
GET /v1/email/{serviceId}
The service id is one of type email from GET /v1/services.
Parameters
| Field | Type | Description |
|---|---|---|
serviceId | string (uuid), in path |
Response 200: The package and its mailboxes. EmailPackage
Errors
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
| Field | Type | Description |
|---|---|---|
serviceId | string (uuid), in path |
Response 200: The records and their state. ServiceDns
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Response 204: The records are in the zone.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
localPart | string | |
displayName | string (max 100 characters) | null | |
password | string (max 256 characters) |
Response 201: The new mailbox. CreatedMailbox
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path | |
mailboxId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
displayName | string (max 100 characters) | null | |
password (optional) | string (max 256 characters) |
Response 200: The mailbox is changed. UpdatedMailbox
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission services:manage
With all mail in it, for good.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path | |
mailboxId | string (uuid), in path |
Response 204: The mailbox is gone.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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.
Invoices and balance
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.
Response 200: The balance. Balance
Errors
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
| Field | Type | Description |
|---|---|---|
status (optional) | "open" | "paid" | "void" | "credit-open" | "credit-paid" | "credit-void", in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of invoices. InvoicePage
Errors
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
| Field | Type | Description |
|---|---|---|
invoiceId | string (uuid), in path |
Response 200: The invoice. Invoice
Errors
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
| Field | Type | Description |
|---|---|---|
invoiceId | string (uuid), in path |
Response 200: The PDF. (application/pdf)
Errors
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).
Subscriptions
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
| Field | Type | Description |
|---|---|---|
subscriptionId | string (uuid), in path |
Response 200: The subscription. Subscription
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Response 200: When it stops. Cancellation
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
productPriceId | string (uuid) |
Response 200: The change. PeriodChange
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
productId | string (uuid) |
Response 200: The change. PlanChange
Errors
403: The key lacks thebilling:managepermission, 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. TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
subscriptionId | string (uuid), in path |
Response 200: The options. PlanOptions
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
quantity | integer (1 to 1000) |
Response 200: The change. QuantityChange
Errors
403: The key lacks thebilling:managepermission, 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. TheIdempotency-Keywas 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 with the permission services:manage
Takes back a cancellation while the subscription still runs: it renews again.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Response 204: It renews again.
Errors
403: The key lacks theservices:managepermission, 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). TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
subscriptionId | string (uuid), in path |
Response 204: Nothing waits any more.
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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).
Transfers
List transfers
GET /v1/transfers
Transfers of services out of this workspace and into it, newest first.
Parameters
| Field | Type | Description |
|---|---|---|
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of transfers. TransferPage
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Start a transfer
POST /v1/transfers with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
serviceIds | string (uuid)[] | From GET /v1/services. |
Response 201: The code, shown once. CreatedTransfer
Errors
403: The key lacks theservices:transferpermission, 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). TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
transferId | string (uuid), in path |
Response 200: The transfer. Transfer
Errors
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 with the permission services:transfer
Stops a transfer that is not done yet, from either side. The code no longer works.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
transferId | string (uuid), in path |
Response 200: The transfer, now cancelled. Transfer
Errors
403: The key lacks theservices:transferpermission, 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). TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
code | string (max 64 characters) |
Response 200: The transfer, now claimed. Transfer
Errors
403: The key lacks theservices:transferpermission, 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). TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
serviceId | string (uuid), in path |
Response 200: The package. WebhostingPackage
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Response 204: The records are in the zone.
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission services:manage
The current password of the control panel and FTP account. Every time it is shown is audited.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Response 200: The password. HostingPassword
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission services:manage
The password of the control panel and FTP account, at least 12 characters. Kept encrypted so it can be shown again.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
password | string (max 128 characters) |
Response 204: The password is changed.
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission services:manage
A link that opens the control panel signed in as the account, for a short while. Only where signInAvailable is true.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Response 200: The link. SignInLink
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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.
VoIP
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
| Field | Type | Description |
|---|---|---|
serviceId | string (uuid), in path |
Response 200: The organisation. VoipPackage
Errors
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 with the permission services:manage
Numbers in the provider's stock. search matches digits anywhere in the number; a leading 0 stands for +31.
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path | |
search (optional) | string, in query |
Response 200: The numbers. AvailableNumberList
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission services:manage
One from GET .../available-numbers, by its id, up to the numbers the product includes (maxNumbers).
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
numberId | string (max 100 characters) |
Response 201: The number, now taken. VoipNumber
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path | |
numberId | string (uuid), in path |
Response 204: The number is released.
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
serviceId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
email | string (email, max 254 characters) |
Response 204: The invitation is sent.
Errors
403: The key lacks theservices:managepermission, 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. TheIdempotency-Keywas 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.
Payments
Top up the balance
POST /v1/balance/top-ups with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
amount | integer (1000 to 100000) | |
method | "ideal" | "bancontact" | "creditcard" | "paypal" |
Response 201: The checkout. TopUp
Errors
403: The key lacks thebilling:managepermission, 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. TheIdempotency-Keywas 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.
Response 200: The terms. InvoiceTerms
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
interval | "half-month" | "month" | "quarter" | |
motivation | string (max 2000 characters) |
Response 201: The request. Created
Errors
403: The key lacks thebilling:managepermission, or the request comes from an address it does not allow.409: A request is waiting for an answer already. TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
invoiceId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
method | "ideal" | "bancontact" | "creditcard" | "paypal" | "bank-transfer" | |
saveMandate (optional) | boolean |
Response 201: Paid, or a checkout opened. InvoicePayment
Errors
403: The key lacks thebilling:managepermission, 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. TheIdempotency-Keywas 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.
Response 200: The mandates. MandateList
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Revoke a mandate
DELETE /v1/mandates/{mandateId} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
mandateId | string (uuid), in path |
Response 204: Revoked.
Errors
403: The key lacks thebilling:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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.
Response 200: The methods. PaymentMethodList
Errors
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
| Field | Type | Description |
|---|---|---|
paymentId | string (uuid), in path |
Response 200: The payment. Payment
Errors
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).
Details
Get the billing details
GET /v1/billing-details
Who invoices are made out to, and whether the VAT number makes them reverse-charged.
Response 200: The billing details. BillingDetailsResult
Errors
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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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, shape 1 of 2
| Field | Type | Description |
|---|---|---|
kind | "personal" | |
contactName | string (max 120 characters) | |
email | string (email) | |
phone | string | |
addressLine1 | string (max 200 characters) | |
addressLine2 | string (max 200 characters) | null | |
postalCode | string (max 20 characters) | |
city | string (max 120 characters) | |
country | string | |
language (optional) | "en" | "nl" |
Body, shape 2 of 2
| Field | Type | Description |
|---|---|---|
kind | "business" | |
companyName | string (max 200 characters) | |
contactName | string (max 120 characters) | |
email | string (email) | |
phone | string | |
addressLine1 | string (max 200 characters) | |
addressLine2 | string (max 200 characters) | null | |
postalCode | string (max 20 characters) | |
city | string (max 120 characters) | |
country | string | |
language (optional) | "en" | "nl" | |
vatNumber | string | null | |
cocNumber | string | null |
Response 200: The billing details as they are now. BillingDetailsResult
Errors
403: The key lacks theaccount:managepermission, or the request comes from an address it does not allow.409: TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
domain (optional) | string, in query | |
purpose (optional) | "email" | "dnszone" | "webhosting", in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of claims. DomainClaimPage
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Claim a domain
POST /v1/domain-claims with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
domain | string | |
purpose | "email" |
Response 201: The claim. DomainClaim
Errors
403: The key lacks theservices:managepermission, 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). TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
domainclaimId | string (uuid), in path |
Response 200: The claim after the check. DomainClaimCheck
Errors
403: The key lacks theservices:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
name | string (max 120 characters) | |
organization | string (max 200 characters) | null | |
email | string (email) | |
phone | string | |
addressLine1 | string (max 200 characters) | |
postalCode | string (max 20 characters) | |
city | string (max 120 characters) | |
country | string |
Response 201: The new holder. DomainHolderDetails
Errors
403: The key lacks theaccount:managepermission, or the request comes from an address it does not allow.409: TheIdempotency-Keywas 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
| Field | Type | Description |
|---|---|---|
holderId | string (uuid), in path |
Response 200: The holder. DomainHolderDetails
Errors
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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
holderId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
name | string (max 120 characters) | |
organization | string (max 200 characters) | null | |
email | string (email) | |
phone | string | |
addressLine1 | string (max 200 characters) | |
postalCode | string (max 20 characters) | |
city | string (max 120 characters) | |
country | string |
Response 200: The holder as it is now. DomainHolderDetails
Errors
403: The key lacks theaccount:managepermission, 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. TheIdempotency-Keywas 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} with the permission account:manage
Parameters
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
holderId | string (uuid), in path |
Response 204: Removed.
Errors
403: The key lacks theaccount:managepermission, 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). TheIdempotency-Keywas 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).
People
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
| Field | Type | Description |
|---|---|---|
status (optional) | "joined" | "invited" | "expired", in query | |
role (optional) | "owner", in query | |
search (optional) | string (max 100 characters), in query | |
cursor (optional) | string (uuid), in query | |
limit (optional) | integer (1 to 100), in query |
Response 200: A page of members. MemberPage
Errors
423: The workspace is locked until the questions Servur asked are answered in the dashboard (WORKSPACE_LOCKED).
Invite somebody
POST /v1/members with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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
| Field | Type | Description |
|---|---|---|
email | string (email) |
Response 201: The invitation. Invitation
Errors
403: The key lacks themembers:invitepermission, 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). TheIdempotency-Keywas 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} with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
memberId | string (uuid), in path |
Response 200: Removed. Created
Errors
403: The key lacks themembers:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
memberId | string (uuid), in path |
Body
| Field | Type | Description |
|---|---|---|
permissions | "*" | "workspace:manage" | "members:invite" | "members:manage" | "services:manage" | "services:transfer" | "billing:manage" | "api:manage"[] |
Response 200: The permissions as they are now. MemberPermissions
Errors
403: The key lacks themembers:managepermission, or the request comes from an address it does not allow.404: Not found, or not in the key's workspace.409: TheIdempotency-Keywas 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 with the permission 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
| Field | Type | Description |
|---|---|---|
Idempotency-Key (optional) | string (max 255 characters), in header | Any 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. |
memberId | string (uuid), in path |
Response 200: The invitation. Invitation
Errors
403: The key lacks themembers:invitepermission, 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). TheIdempotency-Keywas 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).
Schemas
The shapes the responses above share, each once.
AuthCode
| Field | Type | Description |
|---|---|---|
authCode | string |
Availability
| Field | Type | Description |
|---|---|---|
domain | string | |
status | "available" | "registered" | "premium" | "invalid" | "unknown" | registered can be transferred in; unknown is a registry that did not answer in time. |
premiumPrice | object | null | The registry's price of a premium name, which Servur does not register through the API. |
premiumPrice.amount | integer | |
premiumPrice.currency | string | |
price | object | null | The workspace's prices for one year, without VAT; null for an extension Servur does not sell. |
price.register | integer | |
price.renew | integer | null | |
price.transfer | integer | null | |
price.currency | string |
AvailableNumberList
| Field | Type | Description |
|---|---|---|
items | object[] | |
items[].id | string | The provider's id: pass it as numberId to take the number. |
items[].e164 | string |
Balance
| Field | Type | Description |
|---|---|---|
balance | integer | Without VAT: it was invoiced with VAT when topped up, so it pays the subtotal of an order. |
currency | string |
BillingDetails
| Field | Type | Description |
|---|---|---|
kind | "personal" | "business" | |
companyName | string | null | |
contactName | string | |
email | string | |
phone | string | null | E.164, such as +31201234567; null on details saved before a phone number was required. |
addressLine1 | string | |
addressLine2 | string | null | |
postalCode | string | |
city | string | |
country | string | |
vatNumber | string | null | |
vatNumberCheck | object | null | What 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.checkedAt | string (date-time) | null | |
vatNumberCheck.registeredName | string | null | |
cocNumber | string | null | Chamber of Commerce (KvK) number. |
language | "en" | "nl" | Of the billing mails. |
updatedAt | string (date-time) |
BillingDetailsResult
| Field | Type | Description |
|---|---|---|
billingDetails | BillingDetails | null | Null until they are filled in. |
Cancellation
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
cancelAt | string (date-time) | It runs until here, and is not renewed. |
Created
| Field | Type | Description |
|---|---|---|
id | string (uuid) |
CreatedMailbox
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
address | string |
CreatedTransfer
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
code | string | Shown once: give it to the receiving workspace. |
expiresAt | string (date-time) |
Discount
| Field | Type | Description |
|---|---|---|
code | string | |
kind | "percentage" | "fixed" | |
percentage | number | null | For a percentage code. |
amount | integer | null | For a fixed code, without VAT. |
currency | string | null | |
productIds | string (uuid)[] | The products it applies to; empty for every product. |
endsAt | string (date-time) | null |
DnsRecord
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
name | string | @ for the zone itself. |
value | string | |
ttl | integer | |
priority | integer | null | MX and SRV only. |
managedBy | object | null | The 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.serviceId | string (uuid) | null | |
managedBy.domain | string | null |
DnsRecordValues
| Field | Type | Description |
|---|---|---|
type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
name | string | |
value | string | |
ttl | integer | |
priority | integer | null |
DnsRedirect
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | @ for the zone itself, or a name under it such as www. |
path | string | The path it answers, with {name} for one segment or {name*} for the rest, to carry over into destination as {name}. |
destination | string | |
statusCode | 301 | 302 | |
createdAt | string (date-time) |
DnsRedirectList
| Field | Type | Description |
|---|---|---|
items | DnsRedirect[] |
DnssecMode
| Field | Type | Description |
|---|---|---|
mode | "off" | "automatic" | "manual" | |
dsRecords | DsRecordValues[] | What the registry has for the domain now: ours with automatic, yours with manual. |
DnsTemplate
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
servur | boolean | True for one of Servur's own, which can be applied but not changed. |
name | string | |
description | string | null | |
registrationDefault | boolean | Whether a new registration on our nameservers gets these records. |
records | DnsRecordValues[] | {domain} in a value stands for the zone the template is applied to. |
createdAt | string (date-time) | |
updatedAt | string (date-time) |
DnsTemplateList
| Field | Type | Description |
|---|---|---|
items | DnsTemplate[] |
DnsTemplatePlan
| Field | Type | Description |
|---|---|---|
mode | "replace" | "merge" | |
added | DnsRecordValues[] | |
removed | DnsRecordValues[] | |
updated | DnsRecordValues[] | Records kept with another TTL or priority. |
skipped | object[] | Records a merge leaves out: there already, or next to a CNAME. |
skipped[].reason | "exists" | "conflict" | |
skipped[].record | DnsRecordValues | |
warnings | object[] | 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[].records | DnsRecordValues[] | |
ttlRaised | integer | How many of the template's records had their TTL raised to the plan's minimum. |
overLimit | boolean | Whether the zone would grow past its plan's record limit, which applying refuses. |
DnsZone
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
nameservers | string[] | |
records | DnsRecord[] | |
versionId | string (uuid) | null | The current version, to pass as baseVersionId when replacing the records; null on a zone never changed. |
DnsZoneOrderItem
| Field | Type | Description |
|---|---|---|
type | "dnszone" | |
productId | string (uuid) | From GET /v1/products, of the same type. |
interval (optional) | object | One of the product's price intervals; its shortest when left out. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer (1 to 60) | |
domain | string | The domain to host the DNS of; it need not be registered here. |
DnsZonePage
| Field | Type | Description |
|---|---|---|
items | DnsZoneSummary[] | |
nextCursor | string (uuid) | null |
DnsZoneSummary
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
dnssec | boolean | |
publishedAt | string (date-time) | null | |
createdAt | string (date-time) |
DnsZoneVersion
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
records | DnsRecordValues[] | |
createdAt | string (date-time) |
DnsZoneVersionPage
| Field | Type | Description |
|---|---|---|
items | DnsZoneVersionSummary[] | |
nextCursor | string (uuid) | null |
DnsZoneVersionRef
| Field | Type | Description |
|---|---|---|
versionId | string (uuid) | null | The version the change left behind; null when nothing changed on a zone never changed. |
DnsZoneVersionSummary
| Field | Type | Description |
|---|---|---|
id | string (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. |
added | integer | |
removed | integer | |
changed | integer | |
recordCount | integer | |
restoredVersionId | string (uuid) | null | |
madeBy | object | null | Who made it: a person, or an API key by its name. Null when Servur did. |
madeBy.kind | "user" | "api-key" | |
madeBy.name | string | |
createdAt | string (date-time) |
Domain
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
registeredAt | string (date-time) | null | |
expiresAt | string (date-time) | null | |
nameservers | string[] | |
usesServurDns | boolean | |
dnsZoneId | string (uuid) | null | |
dnssecMode | "off" | "automatic" | "manual" |
DomainCheckResult
| Field | Type | Description |
|---|---|---|
tld | string | |
domain | string | |
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. |
premiumPrice | object | null | The registry's price of a premium name, in its currency. |
premiumPrice.amount | integer | |
premiumPrice.currency | string | |
source | "realtime-register" | "adac" | "rdap" | null |
DomainClaim
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
domain | string | |
purpose | "email" | "dnszone" | "webhosting" | The kind of service it is claimed for. |
status | "pending" | "verified" | "lapsed" | |
record | object | The record that proves the claim, to publish at the domain’s DNS and leave there. |
record.type | "TXT" | |
record.name | string | |
record.relativeName | string | The name within the domain’s own zone. |
record.value | string | |
automatic | boolean | True when the domain’s zone is here and Servur adds the record. |
registeredHere | boolean | True when the domain is registered here, proof enough. |
verifiedAt | string (date-time) | null | |
checkedAt | string (date-time) | null | |
seenAt | string (date-time) | null | |
failingSince | string (date-time) | null | Set while a verified claim’s proof is missing. |
lapsesAt | string (date-time) | null | When it lapses unless the proof comes back. |
createdAt | string (date-time) |
DomainClaimCheck
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
domain | string | |
purpose | "email" | "dnszone" | "webhosting" | The kind of service it is claimed for. |
status | "pending" | "verified" | "lapsed" | |
record | object | The record that proves the claim, to publish at the domain’s DNS and leave there. |
record.type | "TXT" | |
record.name | string | |
record.relativeName | string | The name within the domain’s own zone. |
record.value | string | |
automatic | boolean | True when the domain’s zone is here and Servur adds the record. |
registeredHere | boolean | True when the domain is registered here, proof enough. |
verifiedAt | string (date-time) | null | |
checkedAt | string (date-time) | null | |
seenAt | string (date-time) | null | |
failingSince | string (date-time) | null | Set while a verified claim’s proof is missing. |
lapsesAt | string (date-time) | null | When it lapses unless the proof comes back. |
createdAt | string (date-time) | |
change | "verified" | "restored" | "failing" | "lapsed" | null | What this check changed; null when nothing did. |
DomainClaimPage
| Field | Type | Description |
|---|---|---|
items | object[] | |
items[].id | string (uuid) | |
items[].domain | string | |
items[].purpose | "email" | "dnszone" | "webhosting" | The kind of service it is claimed for. |
items[].status | "pending" | "verified" | "lapsed" | |
items[].record | object | The record that proves the claim, to publish at the domain’s DNS and leave there. |
items[].record.type | "TXT" | |
items[].record.name | string | |
items[].record.relativeName | string | The name within the domain’s own zone. |
items[].record.value | string | |
items[].automatic | boolean | True when the domain’s zone is here and Servur adds the record. |
items[].registeredHere | boolean | True when the domain is registered here, proof enough. |
items[].verifiedAt | string (date-time) | null | |
items[].checkedAt | string (date-time) | null | |
items[].seenAt | string (date-time) | null | |
items[].failingSince | string (date-time) | null | Set while a verified claim’s proof is missing. |
items[].lapsesAt | string (date-time) | null | When it lapses unless the proof comes back. |
items[].createdAt | string (date-time) | |
items[].services | object[] | The services that lapse with it. |
items[].services[].id | string (uuid) | |
items[].services[].name | string | |
items[].services[].type | "email" | "dnszone" | "webhosting" | |
nextCursor | string | null |
DomainHolder
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
organization | string | null | |
email | string | |
country | string |
DomainHolderDetails
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
organization | string | null | |
email | string | |
phone | string | E.164, such as +31201234567. |
addressLine1 | string | |
postalCode | string | |
city | string | |
country | string | ISO 3166-1 alpha-2, such as NL. |
createdAt | string (date-time) | |
updatedAt | string (date-time) |
DomainHolderList
| Field | Type | Description |
|---|---|---|
items | DomainHolder[] |
DomainOrderItem
| Field | Type | Description |
|---|---|---|
type | "domain" | |
domain | string | |
holderId (optional) | string (uuid) | From GET /v1/domain-holders. The workspace's default holder when left out. |
adminHolderId (optional) | string (uuid) | The admin contact, another domain holder. The holder itself when left out. |
techHolderId (optional) | string (uuid) | The technical contact, another domain holder. The holder itself when left out. |
billingHolderId (optional) | string (uuid) | The billing contact, another domain holder. The holder itself when left out. |
transferCode (optional) | string (max 100 characters) | To transfer a registered domain in rather than register a free one. |
transferAt (optional) | 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 (optional) | object | object | Our nameservers, with a DNS zone here, unless said otherwise. |
DomainSearch
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | The name searched for, without its extension. |
domains | object[] | |
domains[].tld | string | |
domains[].domain | string | |
domains[].availability | "subscribed" | "pending" | "unknown" | subscribed is held at Servur already; pending is answered through the query URLs; unknown could not be asked. |
domains[].price | object | null | The workspace's prices for one year, without VAT. |
domains[].price.register | integer | |
domains[].price.renew | integer | null | |
domains[].price.transfer | integer | null | |
domains[].price.currency | string | |
query | object | null | Null when no extension is pending. |
query.expiresAt | string (date-time) | The URLs are refused after this, about 30 seconds on. |
query.urls | object | |
query.urls.sync | string (uri) | GET answers once every extension is checked: { name, results: [DomainCheckResult] }. |
query.urls.stream | string (uri) | GET as server-sent events: a result event per extension with a DomainCheckResult as it is answered, then done. |
query.urls.socket | string (uri) | A WebSocket that sends { type: "result", result: DomainCheckResult } per extension as it is answered, then { type: "done" }, and closes. |
DsRecord
| Field | Type | Description |
|---|---|---|
keyTag | integer | |
algorithm | 8 | 10 | 13 | 14 | 15 | 16 | |
digestType | 2 | 4 | |
digest | string | |
dnskey | string | null | The 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. |
id | string (uuid) |
DsRecordList
| Field | Type | Description |
|---|---|---|
items | DsRecord[] |
DsRecordValues
| Field | Type | Description |
|---|---|---|
keyTag | integer | |
algorithm | 8 | 10 | 13 | 14 | 15 | 16 | |
digestType | 2 | 4 | |
digest | string | |
dnskey | string | null | The 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
| Field | Type | Description |
|---|---|---|
type | "email" | |
productId | string (uuid) | From GET /v1/products, of the same type. |
interval (optional) | object | One of the product's price intervals; its shortest when left out. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer (1 to 60) | |
domain | string | The domain the addresses are at; it need not be registered here. |
mailboxes (optional) | integer (1 to 1000) | |
addresses (optional) | string[] | Names for some or all mailboxes; the rest are chosen later in the dashboard. |
migrate (optional) | boolean | True to have existing mail moved in. |
EmailPackage
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
domain | string | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
maxMailboxes | integer | |
mailboxes | Mailbox[] |
Error
| Field | Type | Description |
|---|---|---|
error | string | What went wrong, such as not-found or forbidden. |
message (optional) | string | The precise reason, such as API_KEY_PERMISSION_MISSING. |
GeneralOrderItem
| Field | Type | Description |
|---|---|---|
type | "general" | |
productId | string (uuid) | From GET /v1/products, of the same type. |
interval (optional) | object | One of the product's price intervals; its shortest when left out. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer (1 to 60) | |
quantity (optional) | integer (1 to 1000) | Items or hours. |
HostingPassword
| Field | Type | Description |
|---|---|---|
password | string |
HostingUsageItem
| Field | Type | Description |
|---|---|---|
used | number | |
limit | number | null | Null for unlimited. |
Invitation
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
email | string | |
expiresAt | string (date-time) | null |
Invoice
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
number | string | 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. |
currency | string | |
total | integer | With VAT. |
issuedAt | string (date-time) | null | |
dueAt | string (date-time) | null | |
paidAt | string (date-time) | null | |
subtotal | integer | |
taxAmount | integer | |
amountPaid | integer | |
amountDue | integer | |
vatTreatment | "standard" | "reverse-charge" | "export" | |
reference | string | null | |
credited | object | null | On a credit note: the invoice it credits. |
credited.id | string (uuid) | |
credited.number | string | null | |
lines | object[] | |
lines[].name | string | |
lines[].description | string | null | |
lines[].quantity | number | |
lines[].unitPrice | integer | |
lines[].subtotal | integer | |
lines[].taxRate | integer | In hundredths of a percent: 2100 is 21%. |
lines[].taxAmount | integer | |
lines[].total | integer | |
lines[].servicePeriodStartAt | string (date-time) | null | |
lines[].servicePeriodEndAt | string (date-time) | null | |
lines[].serviceId | string (uuid) | null |
InvoicePage
| Field | Type | Description |
|---|---|---|
items | InvoiceSummary[] | |
nextCursor | string (uuid) | null |
InvoicePayment
| Field | Type | Description |
|---|---|---|
paymentId | string (uuid) | null | Null when nothing was left to pay. |
checkoutUrl | string (uri) | null | Where a person pays, for a checkout method; null when paid from the balance. |
invoiceStatus | "paid" | "open" | open until the checkout is paid. |
InvoiceSummary
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
number | string | 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. |
currency | string | |
total | integer | With VAT. |
issuedAt | string (date-time) | null | |
dueAt | string (date-time) | null | |
paidAt | string (date-time) | null |
InvoiceTerms
| Field | Type | Description |
|---|---|---|
terms | object | null | Null for a workspace invoiced weekly, as every workspace is without terms. |
terms.interval | "week" | "half-month" | "month" | "quarter" | |
terms.pendingLimit | integer | Invoiced at once when what waits to be invoiced reaches this, with VAT. |
terms.grantedAt | string (date-time) | |
terms.updatedAt | string (date-time) | |
pendingOwed | integer | What is billed and not invoiced yet. |
request | object | null | The latest request for other terms, if any. |
request.id | string (uuid) | |
request.interval | "week" | "half-month" | "month" | "quarter" | |
request.motivation | string | |
request.status | "pending" | "approved" | "rejected" | |
request.decisionNote | string | null | |
request.decidedAt | string (date-time) | null | |
request.createdAt | string (date-time) |
Mailbox
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
address | string | |
localPart | string | |
displayName | string | null | |
usedBytes | integer | null | Null when the mail server did not say. |
createdAt | string (date-time) |
MandateList
| Field | Type | Description |
|---|---|---|
items | object[] | |
items[].id | string (uuid) | |
items[].status | "pending" | "valid" | "invalid" | "revoked" | |
items[].method | "direct-debit" | "creditcard" | "paypal" | "dummy" | |
items[].label | string | null | Such as the last digits of the card or account. |
items[].isDefault | boolean | Charged first, for renewals and orders paid by direct debit. Without one, the newest valid mandate is. Chosen in the dashboard. |
items[].cardExpiresOn | string (date) | null | A card's last valid day; null for an account. |
items[].revokedAt | string (date-time) | null | |
items[].createdAt | string (date-time) |
Member
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
userId | string (uuid) | null | Null for an invitation not accepted yet. |
name | string | null | |
email | string | |
status | "joined" | "invited" | "expired" | |
permissions | string[] | * is the owner. |
invitedAt | string (date-time) | |
joinedAt | string (date-time) | null | |
expiresAt | string (date-time) | null | When an open invitation lapses. |
accessEndsAt | string (date-time) | null | Set for Servur support given temporary access, until when. |
MemberPage
| Field | Type | Description |
|---|---|---|
items | Member[] | |
nextCursor | string | null |
MemberPermissions
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
permissions | string[] |
NameserversResult
| Field | Type | Description |
|---|---|---|
nameservers | string[] | |
dnssecCleared | boolean | Whether DNSSEC was turned off for the move. |
Order
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
number | string | |
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. |
currency | string | |
total | integer | With VAT. |
createdAt | string (date-time) | |
subtotal | integer | |
taxAmount | integer | |
paidAt | string (date-time) | null | |
cancelledAt | string (date-time) | null | |
lines | object[] | |
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[].name | string | |
lines[].description | string | null | |
lines[].quantity | number | |
lines[].unitPrice | integer | |
lines[].subtotal | integer | |
lines[].taxRate | integer | In hundredths of a percent: 2100 is 21%. |
lines[].taxAmount | integer | |
lines[].total | integer | |
lines[].serviceId | string (uuid) | null | The service the line made or renews, once the order is paid. |
OrderPage
| Field | Type | Description |
|---|---|---|
items | OrderSummary[] | |
nextCursor | string (uuid) | null |
OrderSummary
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
number | string | |
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. |
currency | string | |
total | integer | With VAT. |
createdAt | string (date-time) |
Payment
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
purpose | "order" | "invoice" | "top-up" | "mandate" | |
order | object | null | |
order.id | string (uuid) | |
order.number | string | |
order.status | "pending" | "paid" | "cancelled" | |
invoice | object | null | |
invoice.id | string (uuid) | |
invoice.number | string | |
invoice.status | "draft" | "open" | "paid" | "void" | |
status | "pending" | "authorized" | "paid" | "failed" | "cancelled" | "expired" | "charged-back" | |
amount | integer | With VAT and any transaction costs. |
currency | string | |
method | "ideal" | "bancontact" | "creditcard" | "bank-transfer" | "direct-debit" | "paypal" | "apple-pay" | "credit" | "dummy" | null | How it was paid in the end; credit is the balance. Null until the provider says. |
failureMessage | string | null | |
createdAt | string (date-time) | |
paidAt | string (date-time) | null |
PaymentMethodList
| Field | Type | Description |
|---|---|---|
items | object[] | |
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[].fee | object | |
items[].fee.fixedAmount | integer | Cents without VAT, per payment. |
items[].fee.rate | integer | Hundredths of a percent of what is charged, VAT included: 180 is 1.8%. |
items[].allowed | boolean | Whether the workspace may pay with it. creditcard, paypal and direct-debit need an admin to allow them; direct-debit also a mandate. |
items[].available | integer | null | For 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
| Field | Type | Description |
|---|---|---|
kind | "scheduled" | "kept" | scheduled: the new period starts when the current one ends. kept: the current period, which withdraws a move waiting. |
effectiveAt | string (date-time) |
PlanChange
| Field | Type | Description |
|---|---|---|
kind | "upgrade" | "downgrade" | upgrade takes effect once its order is paid (at once when nothing is due); downgrade at the end of the period. |
effectiveAt | string (date-time) | null | When a downgrade takes effect. |
order | object | null | The order to pay before the change takes effect; pay it with POST /v1/orders/{orderId}/payment. |
order.id | string (uuid) | |
order.number | string | |
order.total | integer | |
order.currency | string |
PlanOptions
| Field | Type | Description |
|---|---|---|
changeable | boolean | Whether the plan can change at all: running, not cancelled, billed by a period. |
current | object | |
current.product | object | |
current.product.id | string (uuid) | |
current.product.name | string | |
current.amount | integer | Per unit and period, without VAT. |
current.quantity | integer | |
current.interval | object | null | |
current.interval.unit | "day" | "week" | "month" | "year" | |
current.interval.count | integer | |
current.periodEnd | string (date-time) | |
scheduled | object | null | |
scheduled.product | object | |
scheduled.product.id | string (uuid) | |
scheduled.product.name | string | |
scheduled.interval | object | null | |
scheduled.interval.unit | "day" | "week" | "month" | "year" | |
scheduled.interval.count | integer | |
scheduled.quantity | integer | |
scheduled.effectiveAt | string (date-time) | |
options | object[] | The other plans it can move to; pass product.id to POST .../plan. |
options[].product | object | |
options[].product.id | string (uuid) | |
options[].product.name | string | |
options[].product.description | string | null | |
options[].price | object | |
options[].price.amount | integer | |
options[].price.currency | string | |
options[].price.workspaceRate | boolean | |
options[].kind | "upgrade" | "downgrade" | |
options[].dueNow | integer | Without VAT: what an upgrade costs for the rest of this period. |
options[].effectiveAt | string (date-time) | |
quantity | object | |
quantity.adjustable | boolean | |
quantity.current | integer | |
quantity.dueNowPerUnit | integer | Without VAT: what one more unit costs for the rest of this period. |
periods | object[] | The other billing periods; pass price.id to POST .../period. |
periods[].price | object | |
periods[].price.id | string (uuid) | |
periods[].price.amount | integer | |
periods[].price.currency | string | |
periods[].price.workspaceRate | boolean | |
periods[].interval | object | null | |
periods[].interval.unit | "day" | "week" | "month" | "year" | |
periods[].interval.count | integer | |
periods[].effectiveAt | string (date-time) |
Product
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
type | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip" | |
slug | string | |
name | string | |
description | string | null | |
tld | string | null | The extension, for a domain name product. |
prices | ProductPrice[] |
ProductList
| Field | Type | Description |
|---|---|---|
items | Product[] |
ProductPrice
| Field | Type | Description |
|---|---|---|
id | string (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" | |
interval | object | null | The period the price is for; null for a one-time price. Pass it as interval to order. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer | |
currency | string | |
amount | integer | In cents, without VAT. |
workspaceRate | boolean | True when it is a rate agreed with this workspace, not the list price. |
QuantityChange
| Field | Type | Description |
|---|---|---|
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. |
effectiveAt | string (date-time) | null | When fewer units take effect. |
order | object | null | The order to pay before the change takes effect; pay it with POST /v1/orders/{orderId}/payment. |
order.id | string (uuid) | |
order.number | string | |
order.total | integer | |
order.currency | string |
RateLimitError
| Field | Type | Description |
|---|---|---|
error | "too-many-requests" | |
retryAfterSeconds | integer |
Service
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
type | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip" | |
name | string | The domain it is for where it has one, the product otherwise. |
product | object | |
product.id | string (uuid) | |
product.name | string | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
suspensionReason | "admin" | "lapsed" | "unpaid" | "unverified" | null | |
quantity | integer | |
currentPeriod | object | |
currentPeriod.start | string (date-time) | |
currentPeriod.end | string (date-time) | |
autoRenew | boolean | |
cancelAt | string (date-time) | null | |
price | object | Per unit and period, without VAT. |
price.amount | integer | |
price.currency | string | |
price.interval | object | null | |
price.interval.unit | "day" | "week" | "month" | "year" | |
price.interval.count | integer | |
createdAt | string (date-time) |
ServiceDns
| Field | Type | Description |
|---|---|---|
zone | object | null | The workspace's zone here that holds the domain; null when there is none to apply them to. |
zone.id | string (uuid) | |
zone.name | string | |
valid | boolean | null | Whether the zone has every record and nothing in their way; null without a zone. |
records | object[] | The records the service needs. |
records[].type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
records[].name | string | Relative to the zone, @ for its apex. |
records[].value | string | |
records[].priority | integer | null | |
records[].status | "present" | "missing" | null | Whether the zone has it; null without a zone. |
conflicts | ServiceDnsRecord[] | Records in the zone that applying the service's records replaces. |
ServiceDnsRecord
| Field | Type | Description |
|---|---|---|
type | "A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS" | "SRV" | "CAA" | "HTTPS" | "SVCB" | "TLSA" | "NAPTR" | "SSHFP" | "DS" | |
name | string | Relative to the zone, @ for its apex. |
value | string | |
priority | integer | null |
ServicePage
| Field | Type | Description |
|---|---|---|
items | Service[] | |
nextCursor | string (uuid) | null |
SignInLink
| Field | Type | Description |
|---|---|---|
signInUrl | string | Opens the control panel signed in; use it at once. |
Subscription
| Field | Type | Description |
|---|---|---|
id | string (uuid) | The same id as the service in GET /v1/services. |
product | object | |
product.id | string (uuid) | |
product.name | string | |
product.type | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip" | |
label | string | null | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
suspensionReason | "admin" | "lapsed" | "unpaid" | "unverified" | null | |
quantity | integer | |
price | object | Per unit and period, without VAT, as it last renewed or was bought. |
price.amount | integer | |
price.currency | string | |
price.interval | object | null | |
price.interval.unit | "day" | "week" | "month" | "year" | |
price.interval.count | integer | |
renewalAmount | integer | null | What the next period costs per unit, without VAT; null when nothing renews it. |
currentPeriod | object | |
currentPeriod.start | string (date-time) | |
currentPeriod.end | string (date-time) | |
autoRenew | boolean | |
cancelAt | string (date-time) | null | When a cancelled subscription stops. |
cancelledAt | string (date-time) | null | |
startedAt | string (date-time) | null | |
createdAt | string (date-time) | |
scheduledChange | object | null | Another plan, period or fewer units, taking effect when the current period ends. |
scheduledChange.product | object | |
scheduledChange.product.id | string (uuid) | |
scheduledChange.product.name | string | |
scheduledChange.interval | object | null | |
scheduledChange.interval.unit | "day" | "week" | "month" | "year" | |
scheduledChange.interval.count | integer | |
scheduledChange.quantity | integer | |
scheduledChange.effectiveAt | string (date-time) | |
pendingRenewal | object | null | The renewal order waiting to be paid; pay it with POST /v1/orders/{orderId}/payment. |
pendingRenewal.orderId | string (uuid) | |
pendingRenewal.number | string | |
pendingRenewal.total | integer | |
pendingRenewal.currency | string |
TopUp
| Field | Type | Description |
|---|---|---|
paymentId | string (uuid) | |
checkoutUrl | string (uri) | Where a person pays; the balance goes up once they have. |
taxAmount | integer | The workspace's VAT on the amount, charged on top and invoiced. |
fee | integer | The method's transaction costs, with VAT, charged on top and invoiced. |
charged | integer | What the checkout charges: the amount, its VAT and the fee. |
Transfer
| Field | Type | Description |
|---|---|---|
id | string (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. |
source | object | |
source.id | string (uuid) | |
source.name | string | |
target | object | null | |
target.id | string (uuid) | |
target.name | string | |
acceptedBy | object | null | |
acceptedBy.name | string | |
acceptedBy.email | string | |
order | object | null | For an incoming transfer: the order that took the services on. |
order.id | string (uuid) | |
order.number | string | |
createdAt | string (date-time) | |
claimedAt | string (date-time) | null | |
acceptedAt | string (date-time) | null | |
completedAt | string (date-time) | null | |
cancelledAt | string (date-time) | null | |
expiresAt | string (date-time) | |
items | object[] | |
items[].subscriptionId | string (uuid) | |
items[].here | boolean | Whether the service is in the key's workspace now. |
items[].product | object | |
items[].product.id | string (uuid) | |
items[].product.name | string | |
items[].product.type | "general" | "domainname" | "dnszone" | "webhosting" | "email" | "voip" | |
items[].label | string | null | |
items[].quantity | integer | |
items[].status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
items[].currentPeriodStart | string (date-time) | |
items[].currentPeriodEnd | string (date-time) | |
items[].registryExpiresAt | string (date-time) | null | |
items[].autoRenew | boolean | |
items[].cancelAt | string (date-time) | null | |
items[].scheduledProductName | string | null | |
items[].renewal | object | null | What it renews for in the receiving workspace, per unit and period, without VAT. |
items[].renewal.amount | integer | |
items[].renewal.currency | string | |
items[].renewal.intervalUnit | "day" | "week" | "month" | "year" | |
items[].renewal.intervalCount | integer |
TransferPage
| Field | Type | Description |
|---|---|---|
items | Transfer[] | |
nextCursor | string (uuid) | null |
UpdatedMailbox
| Field | Type | Description |
|---|---|---|
id | string (uuid) |
ValidationError
| Field | Type | Description |
|---|---|---|
error | "validation" | |
target | string | Where the invalid input was: json, query or param. |
issues | object[] | |
issues[].path | string | number[] | |
issues[].message | string |
VoipNumber
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
e164 | string | Such as +31850020001. |
VoipOrderItem
| Field | Type | Description |
|---|---|---|
type | "voip" | |
productId | string (uuid) | From GET /v1/products, of the same type. |
interval (optional) | object | One of the product's price intervals; its shortest when left out. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer (1 to 60) |
VoipPackage
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
sipDomain | string | |
plan | "start" | "pro" | "business" | |
seats | integer | |
usedSeats | integer | null | Null when the provider did not answer. |
maxNumbers | integer | |
numbers | object[] | |
numbers[].id | string (uuid) | |
numbers[].e164 | string | Such as +31850020001. |
numbers[].createdAt | string (date-time) |
WebhookEvent
| Field | Type | Description |
|---|---|---|
id | string (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" | |
createdAt | string (date-time) | |
workspaceId | string (uuid) | |
data | object | The ids the event is about; read the rest through the API. |
data.serviceId (optional) | string (uuid) | |
data.orderId (optional) | string (uuid) | |
data.invoiceId (optional) | string (uuid) | |
data.zoneId (optional) | string (uuid) | |
data.versionId (optional) | string (uuid) | |
data.mailboxId (optional) | string (uuid) |
WebhostingOrderItem
| Field | Type | Description |
|---|---|---|
type | "webhosting" | |
productId | string (uuid) | From GET /v1/products, of the same type. |
interval (optional) | object | One of the product's price intervals; its shortest when left out. |
interval.unit | "day" | "week" | "month" | "year" | |
interval.count | integer (1 to 60) | |
domain | string | The domain the website is for; it need not be registered here. |
start (optional) | "empty" | "wordpress" | An empty site, or WordPress installed. |
migrate (optional) | boolean | True to have an existing site moved in. |
WebhostingPackage
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
status | "pending" | "active" | "suspended" | "cancelled" | "expired" | |
username | string | |
domain | string | |
serverHostname | string | null | |
provisionedAt | string (date-time) | null | |
usage | object | null | In megabytes where it is a size; null when the control panel did not answer. |
usage.diskSpace | HostingUsageItem | |
usage.bandwidth | HostingUsageItem | |
usage.emailAccounts | HostingUsageItem | |
usage.databases | HostingUsageItem | |
usage.domains | HostingUsageItem | |
signInAvailable | boolean | Whether POST .../sign-in can make a sign-in link. |
dns | ServiceDns |
WorkspaceWithKey
| Field | Type | Description |
|---|---|---|
workspace | object | |
workspace.id | string (uuid) | |
workspace.name | string | |
apiKey | object | |
apiKey.id | string (uuid) | |
apiKey.name | string | |
apiKey.permissions | "services:manage" | "services:transfer" | "billing:manage" | "account:manage" | "members:invite" | "members:manage"[] | |
apiKey.expiresAt | string (date-time) | null |
ZoneDnssec
| Field | Type | Description |
|---|---|---|
enabled | boolean | |
dsRecords | DsRecordValues[] | The zone's DS records; none while unsigned. |
dsSent | boolean | Whether they went to the registry as well: for a domain registered here on our nameservers with DNSSEC off. |
