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}/coupons \
--header 'Authorization: Bearer <token>'[
{
"id": "b1c2d3e4-f5a6-b7c8-d9e0-f1a2b3c4d5e6",
"code": "8B7W3D",
"expires_at": "2025-11-01T12:00:00Z",
"redeemed_at": null,
"created_at": "2025-10-29T12:00:00Z"
}
]Retrieves a list of all valid (unredeemed and not expired) coupons for a specific captive portal instance.
curl --request GET \
--url https://v1.api.altostrat.io/captive/instances/{instanceId}/coupons \
--header 'Authorization: Bearer <token>'[
{
"id": "b1c2d3e4-f5a6-b7c8-d9e0-f1a2b3c4d5e6",
"code": "8B7W3D",
"expires_at": "2025-11-01T12:00:00Z",
"redeemed_at": null,
"created_at": "2025-10-29T12:00:00Z"
}
]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"
A list of valid coupons.
The unique identifier for the coupon.
"b1c2d3e4-f5a6-b7c8-d9e0-f1a2b3c4d5e6"
The 6-character alphanumeric code for the coupon.
"8B7W3D"
The timestamp when the coupon will expire and become invalid.
"2025-11-01T12:00:00Z"
The timestamp when the coupon was redeemed. Null if not yet redeemed.
null
The timestamp when the coupon was created.
"2025-10-29T12:00:00Z"
Was this page helpful?