Skip to main content

Get Lucky Wheel (v1)

Method & Path​

GET /api/v1/public/dollab

Actual path: /v1/public/dollab

Description​

Returns the shared lucky-wheel slices for the public /dollab page. Appearance weights are omitted so visitors only see labels.

Authentication​

None. Persona: Customer (anyone with the link).

Headers​

None required.

Response 200 OK​

{
"items": [
{
"id": "3f1a0c2e-4b8d-4a91-9c77-1d2e3f4a5b6c",
"label": "خصم 50%",
"color": "#f59e0b"
}
]
}

The first request creates a default shared wheel if none exists yet.

Common Errors​

  • 500 Internal Server Error: Could not load the wheel