🎉 Giveaways

Create Giveaway

Creates a new giveaway.

The giveaway will NOT be sent automatically! Use the /giveaways/{id}/send endpoint to send it.

post/api/v1/servers/{server_id}/giveaways

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/giveaways
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

titlestring required

Titel des Giveaways

descriptionstring nullable

Beschreibung

prizestring required

Gewinn/Preis

winner_countinteger

Anzahl Gewinner

duration_minutesinteger required

Dauer in Minuten (max 30 Tage)

channel_idstring required

Discord Channel ID

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.