Publish to an Upload Session Channel
Broadcast to the public `upload-session.{session_code}` channel. Used by storefront integrations that hand a file from a phone to a desktop, because Reverb has no client-side publish. Call this from your server — it requires the API secret — never from a browser.
/{locale}/shop/realtime/publishBroadcast to the public upload-session.{session_code} channel. Used by storefront integrations that hand a file from a phone to a desktop, because Reverb has no client-side publish. Call this from your server — it requires the API secret — never from a browser.
Authorization
bearerAuth Enter JWT token in the format: Bearer {token}
In: header
Path Parameters
Locale code (lt, en)
Value in
- "lt"
- "en"
Header Parameters
API Key
API Secret
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/lt/shop/realtime/publish" \ -H "X-API-Key: lty_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "X-API-Secret: your_api_secret_here" \ -H "Content-Type: application/json" \ -d '{ "session_code": "a1b2c3d4", "event": "image-upload" }'{ "success": true, "message": "Published"}Realtime Connection Config GET
Laravel Reverb (Pusher protocol) connection details for storefront realtime. The QR channels are public — the unguessable session id in the channel name is the secret — so no per-session token is issued. Subscribe to `qr-login.{session_id}` or `qr-card.{session_id}` and bind `status_update`.
Validate API Credentials POST
Validate API credentials without requiring full authentication. Used for testing WooCommerce module connections.