GET
/
api
/
v1
/
realms
/
{realmId}
/
raffles
/
{raffleId}
curl --request GET \
  --url https://api.drip.re/api/v1/realms/{realmId}/raffles/{raffleId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "item": {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "image": "<string>",
      "type": "<string>",
      "metadata": {}
    },
    "requiredMetadata": [
      "<string>"
    ],
    "realmPoint": {
      "id": "<string>",
      "name": "<string>"
    },
    "currencyId": "<string>",
    "ticketPrice": 123,
    "maxTickets": 123,
    "maxPerUser": 123,
    "winnerCount": 123,
    "startDate": "2023-11-07T05:31:56Z",
    "endDate": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "winners": [
      {
        "position": 123,
        "metadata": {},
        "member": {
          "id": "<string>",
          "accountId": "<string>",
          "account": {
            "username": "<string>"
          }
        }
      }
    ],
    "_count": {
      "entries": 123,
      "winners": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required
raffleId
string
required

Response

200 - application/json
Default Response
data
object