---
title: "Gift Draw Ended"
method: POST
path: "gift.draw.ended"
tags: ["Giveaway Events"]
---

# Gift Draw Ended

`POST gift.draw.ended` (webhook)

Fired when a giveaway draw ends.

## Payload

- object
  - `id` string, required — Unique identifier for this webhook event
  - `webhookId` string, required — ID of the webhook configuration that triggered this event
  - `shopId` string, required — ID of the shop that generated this event
  - `type` string, required — The event type
  - `apiVersion` string, required — API version of the webhook payload
  - `createdAt` string, date-time, required — When this event was created
  - `testMode` boolean, required — Whether this event was sent in test mode
  - `data` ComFourthwallOpenapiModelGiftDraftV1, required
    - `id` string
    - `type` 'INITIAL' | 'REDO'
    - `giveawayId` string
    - `giveawayFriendlyId` string
    - `shopId` string
    - `offer` ComFourthwallOpenapiModelOfferAbstractV1OfferGiftPurchaseV1
      - `id` string
      - `name` string
      - `slug` string
      - `description` string
      - `primaryImage` ComFourthwallOpenapiModelImage
        - `id` string, required
        - `url` string, required
        - `width` integer, required — The original width of the image in pixels.
        - `height` integer, required — The original height of the image in pixels.
        - `transformedUrl` string, required — Transformed URL with applied image processing (e.g., resizing, optimization)
    - `amounts` ComFourthwallOpenapiModelDonationV1Amounts
      - `total` ComFourthwallSupportMoneyMoney
        - `currency` 'USD' | 'EUR' | 'CAD' | 'GBP' | 'AUD' | 'NZD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'INR' | 'JPY' | 'MYR' | 'SGD' | 'MXN' | 'BRL' | 'CHF'
        - `zero` boolean
        - `negative` boolean
        - `moreThanZero` boolean
        - `lessThanZero` boolean
        - `zeroOrLess` boolean
        - `currencyScale` integer
    - `email` string
    - `username` string
    - `message` string
    - `gifts` ComFourthwallOpenapiModelGiftPurchaseV1Gift[]
      - `status` string, required
    - `createdAt` string, date-time
    - `durationSeconds` integer

## Acknowledgement `200`

Event received successfully

---

[API](https://skmtc.dev/fourthwall/apis/fourthwall-apis.md) · [All operations](https://skmtc.dev/fourthwall/apis/fourthwall-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fourthwall/fourthwall-apis/revisions/f85ba94932b7/schema)
