Getting Started
OIDC, RBAC, and Billing
- Authentication & User Info
- User Management
- Ancillary Services
- Teams
- API Credentials
- Roles & Permissions
- Billing - Account
- Billing - Payment Methods
- Billing - Tax IDs
- Billing - Invoices
- Billing - Subscriptions
- Internal M2M
ARP and Devices
- Devices
Developers API
- Sites
- Health
- Synchronous API
- Asynchronous API
- Port Forwards
Asynchronous (MikroTik)
- Bootstrap & Adoption
- Heartbeat
- Jobs
- Runbooks
- Sites
- Internal
- SFTP Auth
Backups
- Site Backups
BGP Feeds And Content Filter
- DNS Policy
- Tunnels & Sites
- Categories & Applications
- BGP Policy
- IP Lists
- Internal Hooks
Captive Portal
- IDP Integrations
- Instances
- Walled Garden
Control Plane Filter
- Policies
- Sites
- Checkin
- Router Commands
- Internal
- Transient Access
- Transient Forward
- Credentials
- Scheduler
CVE Scans
- Scan Schedules
- Scan Results
- CVE Management
- On-Demand Scans
Elastic IP Addressing
- Subnets
- IP Addresses (L2TP)
Logging
- Log Events
Metrics
- Syslog
- ARP
- Interfaces
- MikrotikStats
- Content
- Tunnels
Monitoring & Health
- Faults
Notifications
- Topics
- Groups
Scheduled Scripts
- Community Scripts
- Scheduled Scripts
- AI Generation
Schedules
- Schedules
- Internal
SLA Reports
- SLA Schedules
- SLA Reports
VPN
- Servers
- Sites
- Instances
- Peers
- VPN Client Tokens
- Internal
WAN Failover
- Failover
- Tunnel
- Services
- Gateway
Webhooks
- Integrations
Internal Hooks
Handle DNS Subscription Webhook
Endpoint to receive DNS subscription lifecycle events (create, terminate). Requires valid signature.
POST
/
subscription
/
dns
Copy
Ask AI
curl --request POST \
--url https://api.altostrat.io/content/subscription/dns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "create",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signature": "<string>",
"metadata": {
"site_id": "c3d4e5f6-a7b8-9012-3456-7890abcdef01",
"ip_address": "100.64.10.5",
"policy_id": "e5f6a7b8-c9d0-1234-5678-90abcdef0123"
}
}'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ip_address": "127.0.0.1",
"created_at": "07 Apr 2025 09:00:21",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_name": "<string>",
"dnr_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_online": true,
"dnr_online": true,
"dnr_policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dnr_policy_name": "<string>"
}
Authorizations
Enter the Bearer token (obtained via authentication or provided internally).
Body
application/json
Response
201
application/json
Subscription 'create' handled successfully.
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.altostrat.io/content/subscription/dns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "create",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signature": "<string>",
"metadata": {
"site_id": "c3d4e5f6-a7b8-9012-3456-7890abcdef01",
"ip_address": "100.64.10.5",
"policy_id": "e5f6a7b8-c9d0-1234-5678-90abcdef0123"
}
}'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ip_address": "127.0.0.1",
"created_at": "07 Apr 2025 09:00:21",
"policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"policy_name": "<string>",
"dnr_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dns_online": true,
"dnr_online": true,
"dnr_policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dnr_policy_name": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.