Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request GET \
--url https://v1.api.altostrat.io/captive/instances/{instanceId} \
--header 'Authorization: Bearer <token>'{
"id": "9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
"auth_integration_id": "c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f",
"strategy": "oauth2",
"name": "Main Office Guest WiFi",
"session_ttl": 43200,
"auth_window_ttl": 300,
"theme": {
"logo": "https://v1.api.altostrat.io/captive/assets/.../logo_abc123.png?signature=...",
"icon": "https://v1.api.altostrat.io/captive/assets/.../icon_def456.png?signature=...",
"accent_text": "#FFFFFF",
"accent_color": "#0396d5",
"text_color": "#4f4f4f",
"secondary_text_color": "#8f8f8f",
"background_color": "#f9f9f9",
"border_color": "#e0e0e0",
"box_color": "#ffffff"
},
"terms_text": "By connecting, you agree to our terms of service...",
"sites": [
{
"id": "a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6",
"subnets": [
"192.168.88.0/24"
]
}
],
"created_at": "2025-10-29T12:00:00Z",
"preview_url": "https://captive.altostr.at/preauth?token=eyJpdiI6..."
}Retrieves the complete details of a specific captive portal instance by its unique ID.
curl --request GET \
--url https://v1.api.altostrat.io/captive/instances/{instanceId} \
--header 'Authorization: Bearer <token>'{
"id": "9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
"auth_integration_id": "c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f",
"strategy": "oauth2",
"name": "Main Office Guest WiFi",
"session_ttl": 43200,
"auth_window_ttl": 300,
"theme": {
"logo": "https://v1.api.altostrat.io/captive/assets/.../logo_abc123.png?signature=...",
"icon": "https://v1.api.altostrat.io/captive/assets/.../icon_def456.png?signature=...",
"accent_text": "#FFFFFF",
"accent_color": "#0396d5",
"text_color": "#4f4f4f",
"secondary_text_color": "#8f8f8f",
"background_color": "#f9f9f9",
"border_color": "#e0e0e0",
"box_color": "#ffffff"
},
"terms_text": "By connecting, you agree to our terms of service...",
"sites": [
{
"id": "a1b2c3d4-e5f6-a7b8-c9d0-e1f2a3b4c5d6",
"subnets": [
"192.168.88.0/24"
]
}
],
"created_at": "2025-10-29T12:00:00Z",
"preview_url": "https://captive.altostr.at/preauth?token=eyJpdiI6..."
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
API Key authentication. Provide your token in the 'Authorization' header. Example: Authorization: Bearer <YOUR_TOKEN>
The unique identifier for the captive portal instance.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
The requested captive portal instance.
The unique identifier for the instance.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
The ID of the authentication integration used if the strategy is 'oauth2'. Null for 'coupon' strategy.
"c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f"
The authentication method for this captive portal.
oauth2, coupon "oauth2"
A human-readable name for the instance.
"Main Office Guest WiFi"
The duration in seconds that a user's session remains active after successful authentication.
43200
For OAuth2 strategy, the duration in seconds that the walled garden is temporarily opened to allow the user to complete authentication with the identity provider.
300
A collection of branding and appearance settings.
Show child attributes
The text of the terms and conditions that can be displayed to the user.
"By connecting, you agree to our terms of service..."
A list of sites and their subnets where this captive portal instance is active.
Show child attributes
The timestamp when the instance was created.
"2025-10-29T12:00:00Z"
A temporary, signed URL to preview the captive portal's appearance.
"https://captive.altostr.at/preauth?token=eyJpdiI6..."
Was this page helpful?