YT Gift Redirect Service
The service keeps a pool of 8 active public tokens. All active tokens point to the same current activation URL for the current code_id. Token lifetime is 120 minutes from the last ingest event.
Available Endpoints
POST /api/ingest-link- save/update activation URL for code.POST /api/remove-token- remove one token from the active pool.GET /subscribe/<public_token>- interstitial activation page with the final action button.GET /subscribe/<public_token>/activate- final redirect to the current activation URL.POST /api/refresh-active-codes- cron endpoint for stale marking + refresh trigger payload.GET /g/<public_token>- diagnostic status page.