Raffle
Post apiv1realms raffles
Accounts
Realm-Members
Realms
Store
Currency
Raffle
Quests
Tasks
Triggers
Transitions
Conditions
- GETGet apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions
- GETGet apiv1realms quests tasks conditions 1
- DELDelete apiv1realms quests tasks conditions
- PATCHPatch apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions pre data
- POSTPost apiv1realms quests tasks conditions pre datasearch
Actions
Raffle
Post apiv1realms raffles
POST
/
api
/
v1
/
realms
/
{realmId}
/
raffles
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/raffles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "DIGITAL",
"metadata": {},
"ticketPrice": 123,
"maxTickets": 123,
"maxPerUser": 123,
"winnerCount": 123,
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"currencyId": "<string>",
"requiredMetadata": []
}'
{
"data": {
"id": "<string>"
}
}
Authorizations
API Key
Body
application/json
Available options:
DIGITAL
, PHYSICAL
, NFT
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/raffles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "DIGITAL",
"metadata": {},
"ticketPrice": 123,
"maxTickets": 123,
"maxPerUser": 123,
"winnerCount": 123,
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"currencyId": "<string>",
"requiredMetadata": []
}'
{
"data": {
"id": "<string>"
}
}