Download OpenAPI specification:Download
A simple API to manage apex and vanity domain redirections via ApexWise.
List all organisations accessible to your API token
curl "https://dash.apexwise.io/api/v1/organisations" \ -H "Authorization: Bearer YOUR_TOKEN"
{- "data": {
- "organisations": [
- {
- "name": "QuantCDN",
- "machine_name": "quantcdn"
}
]
}
}
List of Apex domain redirects. Requires a token with access to the specified organisation.
Quant-Organisation required | string Example: quant |
curl -X GET "https://dash.apexwise.io/api/v1/domains" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Quant-Organisation: quantcdn"
{- "data": {
- "domains": [
- {
- "domain": "example.quantcdn.io",
- "include_path": true,
- "is_engaged": 1
}
]
}
}
Get details for a specific Apex domain redirect
domain required | string Example: example.quantcdn.io The apex domain to manage |
Quant-Organisation required | string Example: quant |
curl -X GET "https://dash.apexwise.io/api/v1/domain/example.quantcdn.io" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Quant-Organisation: quantcdn"
{- "data": {
- "domain": {
- "domain": "example.quantcdn.io",
- "include_path": true,
- "is_engaged": 1
}
}
}
Create Apex domain redirect with optional SSL certificate
Quant-Organisation required | string Example: quant |
Domain creation details
domain required | string The apex domain to redirect |
redirect required | string The destination domain (without protocol) |
include_path | boolean Whether to include the request path in the redirect |
public_cert | string Optional SSL certificate in PEM format |
private_cert | string Optional SSL private key in PEM format |
{- "domain": "example.com",
- "redirect": "www.example.com",
- "include_path": true,
- "public_cert": "-----BEGIN CERTIFICATE-----...",
- "private_cert": "-----BEGIN PRIVATE KEY-----..."
}
{- "data": {
- "message": "Domain added/updated successfully."
}
}
Update an existing domain's configuration. You can update the redirect target, path behavior, or SSL certificates independently.
domain required | string Example: example.quantcdn.io The apex domain to manage |
Quant-Organisation required | string Example: quant |
redirect | string The destination domain (without protocol) |
include_path | boolean Whether to include the request path in the redirect |
public_cert | string Optional SSL certificate in PEM format |
private_cert | string Optional SSL private key in PEM format |
{- "include_path": false
}
{- "data": {
- "message": "Domain added/updated successfully."
}
}
Remove a domain redirect configuration
domain required | string Example: example.quantcdn.io The apex domain to manage |
Quant-Organisation required | string Example: quant |
curl -X DELETE "https://dash.apexwise.io/api/v1/domain/example.quantcdn.io/delete" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Quant-Organisation: quantcdn"
{- "data": {
- "message": "Domain deleted successfully."
}
}
Attempt to renew the SSL certificate for a specific domain
domain required | string Example: example.quantcdn.io The apex domain to manage |
Quant-Organisation required | string Example: quant |
curl -X POST "https://dash.apexwise.io/api/v1/domain/testing.firecannon.com/ssl-renew" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Quant-Organisation: quantcdn" \ -H "Content-Type: application/json"
{- "data": {
- "message": "Done!"
}
}