Skip to main content
GET
/
instances
/
{instanceId}
/
coupon-schedules
/
{scheduleId}
/
generate-url
Generate a signed coupon URL
curl --request GET \
  --url https://api.altostrat.io/instances/{instanceId}/coupon-schedules/{scheduleId}/generate-url \
  --header 'Authorization: Bearer <token>'
{
  "signed_url": "https://api.altostrat.io/captive/coupons?sid=c3ab8c9b...&expires=..."
}

Authorizations

Authorization
string
header
required

API Key authentication. Provide your token in the 'Authorization' header. Example: Authorization: Bearer <YOUR_TOKEN>

Path Parameters

instanceId
string<uuid>
required

The unique identifier for the captive portal instance.

Example:

"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"

scheduleId
string<uuid>
required

The unique identifier for the coupon schedule.

Example:

"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"

Response

A temporary signed URL.

signed_url
string<uri>

A temporary URL (valid for 24 hours) to access the list of valid coupons from this schedule.

Example:

"https://api.altostrat.io/captive/coupons?sid=c3ab8c9b...&expires=..."