Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Returns details about the currently active raffle in the system. If no raffle is currently active, returns no content.

Authentication

Bearer token required in Authorization header.

Returns

Returns the active raffle details if one exists, otherwise returns no content.
curl -H "Authorization: $ACCESS_TOKEN" \
  --request GET \
  --url https://api.onlydrams.app/api/v1/raffles/current
{
	"id": "2107ea79-c5b3-419e-b920-310be01d4f75",
	"name": "Test raffle",
	"description": "Test raffle description",
	"end_date": "26 days",
	"status": "active",
	"winner": null,
	"prize": {
		"id": "00021260-d2d5-43c5-b5cb-3e364d6cd2c1",
		"name": "Down Home Single Barrel Bourbon"
	}
}