Skip to main content
The Aptranet API is a JSON-over-HTTPS control plane for project resources.

Public product prefixes

The older /cdn and /dns prefixes are compatibility aliases. New integrations should not use them.

First request

The API key determines the project. Do not send a project ID for API-key-authenticated product requests.

API characteristics

  • Requests and responses use JSON unless an endpoint returns no body.
  • Identifier types vary by resource. Use returned IDs without transforming them.
  • Configuration updates commonly replace a complete configuration document.
  • 204 No Content can represent an empty list or a successful operation with no response document.
  • Responses are marked private and non-cacheable by the Gateway.
  • Mutating calls are permission checked before reaching the product service.

Authentication

Send the access key and secret correctly and rotate credentials safely.

Errors

Handle validation, authentication, permission, activation, and service errors.