GET
/api/v1/organizationRequired scope:
No path, query or body parameters.organizations:readExample request
curl -H "Authorization: Bearer $AS213905_API_KEY" https://as213905.com/api/v1/organizationGET
/api/v1/invoicesRequired scope:
No path, query or body parameters.invoices:readExample request
curl -H "Authorization: Bearer $AS213905_API_KEY" https://as213905.com/api/v1/invoicesGET
/api/v1/servicesRequired scope:
No path, query or body parameters.services:readExample request
curl -H "Authorization: Bearer $AS213905_API_KEY" https://as213905.com/api/v1/servicesGET
/api/v1/services/{id}Required scope:
services:read| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | UUID | Service identifier returned by the list endpoint. Example: 38fce115-83e6-4122-a65a-9c70c9187794 |
Example request
curl -H "Authorization: Bearer $AS213905_API_KEY" \
https://as213905.com/api/v1/services/38fce115-83e6-4122-a65a-9c70c9187794GET
/api/v1/services/{id}/metricsRequired scope:
services:read| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | UUID | Service identifier. Example: 38fce115-83e6-4122-a65a-9c70c9187794 |
target | query | enum | Metric: cpu_load, mem_usage_percent, net_rx, net_tx, iops or df.root.used. Example: net_tx |
range | query | enum | Sampling window: 1h, 6h, 24h or 7d. Default is 24h. Example: 6h |
Example request
curl -H "Authorization: Bearer $AS213905_API_KEY" \
'https://as213905.com/api/v1/services/38fce115-83e6-4122-a65a-9c70c9187794/metrics?target=net_tx&range=6h'POST
/api/v1/services/{id}/powerRequired scope:
services:write| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | UUID | Controllable service identifier. Example: 38fce115-83e6-4122-a65a-9c70c9187794 |
actionrequired | JSON body | enum | One of start, stop or restart. Example: restart |
Example request
curl -X POST -H "Authorization: Bearer $AS213905_API_KEY" -H "Content-Type: application/json" \
-d '{"action":"restart"}' \
https://as213905.com/api/v1/services/38fce115-83e6-4122-a65a-9c70c9187794/powerGET
/api/v1/trafficRequired scope:
traffic:read| Parameter | In | Type | Description |
|---|---|---|---|
days | query | integer 1–366 | Last N UTC days. Mutually exclusive with from/to. Example: 7 |
from | query | date | First UTC calendar date in an explicit range. Example: 2026-08-01 |
to | query | date | Inclusive final UTC calendar date. Example: 2026-08-07 |
Example request
# Relative window
curl -H "Authorization: Bearer $AS213905_API_KEY" 'https://as213905.com/api/v1/traffic?days=7'
# Explicit window
curl -H "Authorization: Bearer $AS213905_API_KEY" 'https://as213905.com/api/v1/traffic?from=2026-08-01&to=2026-08-07'GET
/api/v1/tunnels/{id}/trafficRequired scope:
traffic:read| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | UUID | Tunnel identifier. Example: a5247bdd-e2d0-4c25-a1e6-c84e290cbfa1 |
days | query | integer 1–366 | Last N UTC days; mutually exclusive with from/to. Example: 30 |
from | query | date | First UTC calendar date. Example: 2026-07-01 |
to | query | date | Inclusive final UTC calendar date. Example: 2026-07-31 |
Example request
curl -H "Authorization: Bearer $AS213905_API_KEY" \
'https://as213905.com/api/v1/tunnels/a5247bdd-e2d0-4c25-a1e6-c84e290cbfa1/traffic?days=30'GET
/api/v1/tunnelsRequired scope:
No path, query or body parameters.tunnels:readExample request
curl -H "Authorization: Bearer $AS213905_API_KEY" https://as213905.com/api/v1/tunnelsPOST
/api/v1/tunnelsRequired scope:
tunnels:write| Parameter | In | Type | Description |
|---|---|---|---|
peer_endpointrequired | JSON body | IP address | Public remote GRE endpoint. Example: 203.0.113.10 |
locationrequired | JSON body | string | Service location: fra or ams. Example: ams |
label | JSON body | string ≤100 | Your human-readable tunnel name. Example: fra-primary |
announce | JSON body | boolean | Request route announcement after configuration. Example: true |
Example request
curl -X POST -H "Authorization: Bearer $AS213905_API_KEY" -H "Content-Type: application/json" \
-d '{"peer_endpoint":"203.0.113.10","location":"fra","label":"fra-primary","announce":true}' \
https://as213905.com/api/v1/tunnelsDELETE
/api/v1/tunnels/{id}Required scope:
tunnels:write| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | UUID | Tunnel identifier. Example: a5247bdd-e2d0-4c25-a1e6-c84e290cbfa1 |
Example request
curl -X DELETE -H "Authorization: Bearer $AS213905_API_KEY" \
https://as213905.com/api/v1/tunnels/a5247bdd-e2d0-4c25-a1e6-c84e290cbfa1GET
/api/v1/geofeedsRequired scope:
geofeeds:read| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | The organisation bound to the API key. Example: 9f44e0e7-13d4-4af3-bc6e-76b91c93b752 |
Example request
curl -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" https://as213905.com/api/v1/geofeedsPOST
/api/v1/geofeedsRequired scope:
geofeeds:write| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. Example: 9f44e0e7-13d4-4af3-bc6e-76b91c93b752 |
namerequired | JSON body | string 1–100 | Display name. Example: Customer prefixes |
Example request
curl -X POST -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" -H "Content-Type: application/json" \
-d '{"name":"Customer prefixes"}' \
https://as213905.com/api/v1/geofeedsGET
/api/v1/geofeeds/{id}Required scope:
geofeeds:read| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. Example: 9f44e0e7-13d4-4af3-bc6e-76b91c93b752 |
idrequired | path | UUID | Geofeed identifier. Example: 661e65fd-a498-4418-af2f-dbc8e4b24535 |
Example request
curl -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" \
https://as213905.com/api/v1/geofeeds/661e65fd-a498-4418-af2f-dbc8e4b24535PATCH
/api/v1/geofeeds/{id}Required scope:
geofeeds:write| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. |
idrequired | path | UUID | Geofeed identifier. |
namerequired | JSON body | string 1–100 | New display name. Example: Production geofeed |
Example request
curl -X PATCH -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" -H "Content-Type: application/json" \
-d '{"name":"Production geofeed"}' \
https://as213905.com/api/v1/geofeeds/661e65fd-a498-4418-af2f-dbc8e4b24535DELETE
/api/v1/geofeeds/{id}Required scope:
geofeeds:write| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. |
idrequired | path | UUID | Geofeed identifier. |
Example request
curl -X DELETE -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" \
https://as213905.com/api/v1/geofeeds/661e65fd-a498-4418-af2f-dbc8e4b24535PUT
/api/v1/geofeeds/{id}/recordsRequired scope:
geofeeds:write| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. |
idrequired | path | UUID | Geofeed identifier. |
recordsrequired | JSON body | array ≤1000 | RFC 8805 records with prefix, country_code and optional region_code, city and postal_code. |
Example request
curl -X PUT -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" -H "Content-Type: application/json" \
-d '{"records":[{"prefix":"203.0.113.0/24","country_code":"DE","region_code":"DE-HE","city":"Frankfurt am Main","postal_code":"60311"}]}' \
https://as213905.com/api/v1/geofeeds/661e65fd-a498-4418-af2f-dbc8e4b24535/recordsPOST
/api/v1/geofeeds/{id}/rotateRequired scope:
geofeeds:write| Parameter | In | Type | Description |
|---|---|---|---|
X-Organization-IDrequired | header | UUID | Key organisation UUID. |
idrequired | path | UUID | Geofeed identifier. |
Example request
curl -X POST -H "Authorization: Bearer $AS213905_API_KEY" -H "X-Organization-ID: $ORGANIZATION_ID" \
https://as213905.com/api/v1/geofeeds/661e65fd-a498-4418-af2f-dbc8e4b24535/rotate