API ReferenceGuidesChangelog
Log In
API Reference

Platform

Platform changelog

2026-12-01

Improved: Authenticated regid lifetime raised to 30 minutes

All platforms

The default lifetime of an authenticated regid is now 1800 seconds, up from 270. The per-store maximum is now 3600 seconds, up from 300, so AuthnRegidTTL.Seconds can be set anywhere up to 3599.

Renewal still requires a fresh identity proof, and logout still ends the session.

If you use the Swym JS SDK: Nothing to do. The SDK reads the lifetime from the response and renews on its own, roughly every 29.5 minutes instead of every 4.5.

If you call the API directly, including headless storefronts: Read the lifetime from the response rather than assuming 270 seconds. If you cache or hand out regids yourself, an authenticated regid is now valid for up to 30 minutes by default, and up to an hour where a store raises the limit.

New: Send regid in the x-swym-regid header

All platforms

Four storefront GET routes now accept the regid in an x-swym-regid request header:

  • GET /v2/provider/user-preference
  • GET /v3/provider/user-preference
  • GET /v3/user/get-user-locale
  • GET /v3/user/size-preference

The ?regid= query parameter continues to work and nothing that works today stops working. CORS preflight is handled on all four routes.

If you use the Swym JS SDK: Nothing to do. The SDK moves to the header on its own.

If you call the API directly, including headless storefronts: Optional but recommended for new integrations, so the credential stays out of URLs and out of CDN and proxy logs.


Did this page help you?